Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
After a = 4, b = 6 and then a = b, what is a? | StemPy Lab
Quizzes
/
After a = 4, b = 6 and then a = b, what is a?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Variables and Data Types
Created by
StemPy Lab
After a = 4, b = 6 and then a = b, what is a?
4
10
6
An error
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A program has the comment # Say hello on line 1 and print("Hello") on line 2. How many lines does it show?
A comparison has a type too. What does print(type(7 > 3)) show? →
More on
Python Basics › Variables and Data Types
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Each of these three programs stops with an error.
Easy
Say what the type of each result is, and what value it has. Decide on paper first.
Medium
A student wants to swap a and b, and writes…
Easy
Trace the program
Medium
All problems on this topic →