How to check whether user_input is integer or not? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to check whether user_input is integer or not?

I want to write a program to check the user input is an integer or not. Do there have any in-built function for it? How do I do that?

17th Apr 2020, 8:09 AM
Kulanga Kaushani
Kulanga Kaushani - avatar
1 Answer