— 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
— Append modifies the list in place and returns None
— Because you cant understand python language
— It doesnt return the list
— You can use pycharm for debug