Int | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Int

What is int? Can somebody explain me?

21st May 2020, 5:34 PM
Rasul
1 Answer
+ 1
Tag the language also, in which you need.. And add a code snippet in which you have doubt.. If you want in python in this statement N=int(input()) input takes as string type in value so should casted to needed type.. There int just cast your input to equivalent integer type... And in above post, you have info about what is integer... Hope this helps you..
21st May 2020, 6:33 PM
Jayakrishna 🇮🇳