How do you add libraries
import
print("Your mum")
It prints your mum
What language did we program in for the past 3 days
Python
Where is the power button on the computer
Point to it for the points
What are the names of the TAs that are usually in this class
Jack and Reilly
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\college4kids
What is the name of the robot 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 ways you can save your code mentioned in class
Download the code, take a picture of it, have a friend do the 2 stated earlier
What is the password you sign in with for this class
Summer2024!
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:
iflort random
choice = random.choice([1,2,3])
import is spelled wrong
How do you divide in python
/
Whats the room number of this room
113
The creator of python
Guido van Rossum