why doesnt this work
x=6
if:
print(x)
the if statement doesnt have a conditional
print("Your mum")
It prints your mum
What programming language did I show you how to do for the last 3 days
Python
Where is the power button on the computer
Point to it for the points
What is the name of your TA
Diana
What is a colon used for
Ending of if,while,for and functions
number = 0
while number<5:
print("Hi")
number+=1
It prints Hi five times
Is this a safe password:
password
No it isnt
What is the username you sign in with for this class
dvc.local\c4k
What is the name of the brain of the robot that we used
microbit
Whats wrong with the following statement and what is the correct way to write it?
if x<:0
if x<0:
what it do:
x=0
x=x+1
It adds 1 to x
What are the components of a dictionary
key-value
What is the password you sign in with for this class
DvcSummer2026!
What is your teachers name
Mr. B, Mr. Balaji, Srihari Balaji
Why doesnt this work:
x=0
def hello():
print(x)
def and print are not properly indented
How do you create variables?
Ex: variable_name = value
What did we do in the first half of this course?
We coded using blocks on makecode
What site did we use to program in blocks and whose company name is on the site.
makecode.microbit.org and Microsoft
What animal is on the python logo(hint its in the name)
Python
why dont it work:
x=6.6(int)
if x=6:
print(x)
x is improperly cast as an integer it should be x = int(6.6)
How do you add two variables in python
+
Whats the room number of this room
115
Who is the master of magnetism
Magneto