Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
a = 5, then b = a, then a = 9. What are a and b? | StemPy Lab
Quizzes
/
a = 5, then b = a, then a = 9. What are a and b?
Python Programming
Medium
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Variables and Data Types
Created by
StemPy Lab
a = 5, then b = a, then a = 9. What are a and b?
a is 5 and b is 9
a is 9 and b is 5
a is 5 and b is 5
a is 9 and b is 9
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student writes 5 = x to store 5 in x. What is the mistake?
After name = "Ana", what does print(name) 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 →