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?
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:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers