Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 9)
9.
How can you convert a string input from the console to an integer?
int(input())
convert_int(input())
input().to_int()
parse_int(input())
Answer: Option
Explanation:
To convert a string input to an integer in Python, you can use int(input()).
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.