— Guys pls whats wrong with this code? its not printing out the list
— My_list = []
for i in range(0,3)
number = int(input("Enter a number: ")) my_list.append(number)
print(my_list)
Message permanent page
— Telugu_ra guys this is code
— my_list = []
for i in range(0,3):
number = int(input("Enter a number: "))
my_list.append(number)
print(my_list)
Message permanent page
— Can somene explain the mistake i committed to me
— Append means it adds the integer to the empty list you created in the first line