! /usr/bin/env python3
list1=[]
print("Enter the values")
while 1:
data=input()
if type(data) is int or type(data) is float:
list1.append(data)
else:
break
What is the mistake in the above code I want to run it multiple time but it runs for single time....