print(x - int(x) == 0) # True if x is a whole number, False if it has decimals. How to know if a string is a number python. python by Clear Crab on Mar 22 ...
確定! 回上一頁