Ответ: for i in range(6):
print("2^{} = {}".format(5-i, 2**(5-i)))
mx = int(input('Max степень = '))
for i in range(mx, -1, -1):
print(f'2 ^ {i} = {2 ** i}')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
for i in range(6):
print("2^{} = {}".format(5-i, 2**(5-i)))
mx = int(input('Max степень = '))
for i in range(mx, -1, -1):
print(f'2 ^ {i} = {2 ** i}')