You are viewing a single comment's thread. Return to all comments →
x=int(input()) for i in range(x):
try: n=input() n==float(n) except ValueError: print('False') else: print('True')
Seems like cookies are disabled on this browser, please enable them to open this website
Detect Floating Point Number
You are viewing a single comment's thread. Return to all comments →
x=int(input()) for i in range(x):