Initial work
This commit is contained in:
4
CS1032/practical-2023-10-18/task3.py
Normal file
4
CS1032/practical-2023-10-18/task3.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# If the example output is intended
|
||||
terms = int(input("Enter the Total Number of Terms:\n"))
|
||||
for i in range(16):
|
||||
print(f"2 raised to the power {i} is {2 ** i}")
|
||||
Reference in New Issue
Block a user