A
py3
Source:
print("5.5".isdigit())
print("5".isdigit())Result:
False
True
Size: a a a
БГ
py3
print("5.5".isdigit())
print("5".isdigit())False
True
БГ
A
БГ
A
VA
VA
A
VA
py3
print('-5'.lstrip('-').isdigit())True
VA
БГ
py3
print('-5'.lstrip('-').isdigit())True
A
VA
IW
A
"." in str(chislo)БГ
A
БГ
"." in str(chislo)