Skip to main content
Exam
Vibe
About Us
Engineering
Aerospace Engineering
Biomedical Engineering
Chemical Engineering
Civil Engineering
Computer Science
Digital Marketing Quiz
Electrical Engineering
Electronics and Communication Engineering
Mechanical Engineering
Govt Exam
Banking Exams
Other Government Exam Preparations
Police
Railway Exams
SSC
State PSC Exams
Teaching / Education Exams
UPSC Exams
Blog
Contact
Search MCQs
๐
Login
Register
Home
โบ
Computer Science
โบ
Python MCQ Questions
โบ
Which function converts a string to an integer?
Which function converts a string to an integer?
A. int()
B. str()
C. float()
D. convert()
Explanation:
int() converts a string or float to an integer.
ยซ Previous
Next ยป
More from Python MCQ Questions:
Which method converts all characters in a string to uppercase?
Which function reads input from the user?
Which keyword is used to exit a loop prematurely?
Which operator checks equality of two values in Python?
Which of the following is used for multi-line comments in Python?
Which method adds an element to the end of a list?
Which keyword is used to create a class in Python?
Which function returns the length of a string or list?
Which of these is used to create a list in Python?
Which keyword is used to handle exceptions in Python?
Latest Blogs
NEW
CBSE 12th Result 2026 Re-Evaluation: Apply Online, Fees, Last Date & Step-by-Step Process Explained
NEW
NEET UG 2026 Re-Exam Date Announced: Check New Exam Date, Schedule & Latest Updates
NEW
Understanding the SSC Phase 14 Exam: A Comprehensive Overview
NEW
Top Study Tips for Cracking Your Exams with Confidence
NEW
Aerospace Engineering: Scope, Courses & Career Opportunities
NEW
SSC CHSL Syllabus
NEW
EPFO 3.0 is Here: 7 Major Changes Every Employee Must Know
NEW
Indian Army Salary Structure
NEW
Java Interview Questions
NEW
SSC CHSL 2025: Revised Exam Dates, Important Instructions & Study Strategy
NEW
How to Prepare for SSC CGL in 3 Months
NEW
Top 10 Engineering Exams After 12th