Guess the Data Type
Guess the Data Type [continued]
Is that a String?
Randomness (:
All OR NOTHING ROW!
(Get all questions right in a row and win an extra 500, but get 1 wrong and you lose everything. Walk away when you're satisfied or keep playing. )
100

x = 34

int

100

x = 3.14

float

100

x = "True"

Is that a string?

yes

100

import random

a = random.randint(6,9)

What kind of data type is this

random

100

which one is the int

x = 35j

y = 12345678910

z = "33"

y

200

x = 3j

complex

200

x = 34<35

Boolean(true)

200

x = True

Is that a string?

no, it's a Boolean

200

square_root_of_negative_one = 1j

what does the j represent

j represents an imaginary number

200

if b = random.randint(1,100)

how many possible outcomes of print("b") are there

Only 1, cuz we're printing out text

300

x = "I am NOT a string"

string

300

z = What does the BOX say?"

none

300

x = f"HELP! I'M STUCK IN THE GAME, SOMEONE GET ME OUT"

Is that a string

yes, it's an F-String

300

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

300

Define F-Strings

string variables that can combine string values with int, float, or complex values

400

x = 1200000<1

y = 45j

z = f"Insert something unfunny here"

Boolean(False)

Complex

F-String

400

x = 2.71828

y = "x"

z = y

float

string

string


400

x = 'What about me? :)'

yes. strings must have either single or double quotation marks "" ''

400

if b = random.randint(1,100)

how many possible outcomes of print(b) are there

100

400

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

500

a = True

b = 55<6

Boolean(True)

Boolean(False)

500

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

500

x = "e^(i *pi) + 1 = 0

Is that a string?

no, there's only 1 quotation mark

500

int, float, and complex are all _ data types

Numeric

500

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)