Python Full Course | Display Powers of 2 Using loop | Day 43

preview_player
Показать описание
Python Full Course | Display Powers of 2 Using loop | Day 43
Script:-

term=int(input('Enter the terms: '))
print('The total terms are :', term)
for i in range(term):
result=int(2** i)
print('2 raised to power',i,'is',int(result))

Full Code Visit:-
#Codium #Python #Coding
Рекомендации по теме
visit shbcf.ru