Hi! I want to create a programme that ask numbers, it stores them in a file and that when the user gives the number 0 the programme stops. I’ve created the following programme but it does not stop when 0 and it stores nothing in the file. Where is the mistake?
n=input(“enter a number:”)