You are viewing a single comment's thread. Return to all comments →
n = input() for i in range(int(n)): a = input() if a == '0' : print("False") else: try: float(a) print("True") except ValueError: 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 →