Name one thing Python can be used to build.
Legit anything.
What is a string?
A series of numbers, letters, or symbols connected in order (usually to form words)
Name the two objects that can be used for numbers in Python.
Integers and floats
What does the print() function do?
How the computer/program speaks - it displays whatever is inside.
Give one example of how a variable can be used.
Variables are used to deal with data that changes over time
OR
Variables are used to deal with an object you’d like to refer to multiple times
What family of programming languages does Python belong to?
C ➝ it is C-based
Write a string and share your screen to show it to us.
Needs: starting quotation mark, text in between, ending quotation mark
Give two examples of an integer and two examples of a float.
You got this!
What does the input() function do?
It asks the user a question and allows them to input an answer.
Give three examples of possible variable names.
Legit anything!
Are dogs or cats better? Be warned, there is a correct answer!
Dogs, obviously.
Concatenate two strings in a notebook and show it to us.
Ex: "Hello," + "world."
Is 7. an integer or a float?
A float - it has a decimal!
Use the print() function to display something and show it to us.
Have fun!
Assign an integer to a variable and show us.
Ex: x=92
What cookie did a majority of our class say was their favorite last week?
Chocolate chip, but I still stand by oatmeal raisin
Create a variable and assign a string to it. Then, use an f-string to format the string so that the variable appears inside it. Share your screen and show us!
Ex: x='in'
f"I live {x} New York."
Add two numbers together. Then multiply them. Show us on your screen!
Ex: 7+8; 7*8
You got this!
Assign a float to a variable. Then, add another number to that variable. Share your screen and show us!
Ex: x=8.3
x += 5.3