x = 34
int
x = 3.14
float
x = "True"
Is that a string?
yes
import random
a = random.randint(6,9)
What kind of data type is this
random
which one is the int
x = 35j
y = 12345678910
z = "33"
y
x = 3j
complex
x = 34<35
Boolean(true)
x = True
Is that a string?
no, it's a Boolean
square_root_of_negative_one = 1j
what does the j represent
j represents an imaginary number
if b = random.randint(1,100)
how many possible outcomes of print("b") are there
Only 1, cuz we're printing out text
x = "I am NOT a string"
string
z = What does the BOX say?"
none
x = f"HELP! I'M STUCK IN THE GAME, SOMEONE GET ME OUT"
Is that a string
yes, it's an F-String
z = "Just wanted to say, We know a lot of you have other things going on at this time, so you being here isn't always easy, but thanks for doing so anyways. It means a lot. Here, have a free 300 points for being real swell <3."
+300 points
Define F-Strings
string variables that can combine string values with int, float, or complex values
x = 1200000<1
y = 45j
z = f"Insert something unfunny here"
Boolean(False)
Complex
F-String
x = 2.71828
y = "x"
z = y
float
string
string
x = 'What about me? :)'
yes. strings must have either single or double quotation marks "" ''
if b = random.randint(1,100)
how many possible outcomes of print(b) are there
100
How many of these variables are Boolean variables
a = "I'm obviously not"
b = True
c = 34 > 7
d = 'False
e = b
f = True"
There are 3: b, c, and e
a = True
b = 55<6
Boolean(True)
Boolean(False)
z = "This was supposed to be a kahoot but I couldn't get the rights in time, I'll figure it out one day, don't worry."
string
x = "e^(i *pi) + 1 = 0
Is that a string?
no, there's only 1 quotation mark
int, float, and complex are all _ data types
Numeric
Name the data types of all these variables
a = 3
b = True
c = "Hope you're having fun"
d = 21325j
e = 2378
f = e < a
g = "Hope this isn't too hard"
h = b
int
Boolean(True)
string
complex
int
Boolean(False)
string
Boolean(True)