+ 2
How can I use the int(input()) for the else-statements
I need an info for the int(input()). When and how can I use them?
3 Answers
+ 3
Amanda Martin If you are looking for codes , you can find it in the Code section .Kindly use the search bar before posting Questions and do Read the lessons Patiently :
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/4434/?ref=app
0
You can do:
type = int(input())
if type >= 100:
print(type)
else:
print("No you can't!)
0
It's very easy, use them when you need to get some data from user but you need to convert that data to numbers toođ