python program ask the user to input n number and tell him the biggest among these numbers when the user type 0 the program should stop and 0 shouldn't be compared to the other numbers (if he input 0 in number 1 it should input the first number till he inputs a correct number )
number = -1
i = 1
while not (number == 0):
number = float(input(f"Number {i} : "))
while number == 0 and i == 1:
number = float(input(f"Number {i} : "))
if i == 1 or number > max:
max = number
position = i
i += 1
if i == 1:
print("thank u ...")
else:
print(f"the greatest number is {max}, his postion is {position}.")