Ответ:
n = int(input())
i = 1
s = 0
while n > 2**i
S = S + 2**i
print("S=", S)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
n = int(input())
i = 1
s = 0
while n > 2**i
S = S + 2**i
print("S=", S)