Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What type of value does input() always give back? | StemPy Lab
Quizzes
/
What type of value does input() always give back?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Input and Output
Created by
StemPy Lab
What type of value does input() always give back?
int
float
str (text)
It depends on what the user types
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student says that 10 + 2 * 3 is 36, because Python goes from left to right. What is the mistake?
The user types 4. What does the program show? n = input() and then print(n * 2) →
More on
Python Basics › Input and Output
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Write a program that asks for the length and the width of a rectangle in centimetres, as numbers…
Medium
A program asks two questions. The Input box has these two lines: India and then Pune.
Easy
A student wrote a program that asks for the price of an item.
Medium
Which function (int or float) would you use to read each value?
Medium
All problems on this topic →