Answer the question
In order to leave comments, you need to log in
Validation of int, str, float?
Good afternoon. I'm learning Python.
There is a code:
a = input()
if a == '123'
print('Hello world')
if a = float(a)
Answer the question
In order to leave comments, you need to log in
try/except
https://pythonworld.ru/tipy-dannyx-v-python/isklyu...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question