You are viewing a single comment's thread. Return to all comments →
Most Easy to understood
t=int(input()) lis=[] for i in range(t): lis.append(input()) for item in lis: try: if float(item): print(True) else: print(False) except: print(False)
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 →
Most Easy to understood