Python MCQs Strings
Q1. Which data type is used to store text in Python? A) char B) string C) str D) text Show […]
Q1. Which data type is used to store text in Python? A) char B) string C) str D) text Show […]
Q1. What is a function in Python? A) A variable B) A block of reusable code C) A data type
Q1. Which keyword is used for conditional execution in Python? A) switch B) if C) when D) select Show Answer
Q1. Which operator is used for addition in Python? A) * B) + C) – D) / Show Answer ✅
Q1. Which of the following is a built-in data type in Python? A) real B) float C) double D) character
Q1. What is an algorithm? A) A programming language B) A flowchart C) A step-by-step procedure to solve a problem
Q1. What is a variable in Python? A) A keyword B) A data type C) A memory location used to
Q1. Who developed the Python programming language? A) James Gosling B) Dennis Ritchie C) Guido van Rossum D) Bjarne Stroustrup