Data Types
Keywords
Basic Code 1
Mixed
Vocabulary
100

This data type represents sequences of characters.  

What is string?

100

The keyword for string.

What is str?
100

Command to get and store a user's name

(answers may vary)

name = input("What's yr name?")?

100

What platfrom are we coding in?

What is Pickcode?

100

The name of the input a function will receive.

Ex: numSides is the ______ in 

polygon(numSides)

What is parameter?

200

This data type is used for whole numbers and their opposites. 

What is integer?

200

The keyword for integer.

What is int?

200

Command to pause the program for 5 seconds.

What is time.sleep(5)

200

If you get this error:

SyntaxError: unexpected EOF while parsing 

You are probably missing...

What is "parentheses"

200

The specific value of a parameter.  

Ex: The value 5 is the ____for numSides

polygon(numSides) --> polygon(5)

What is argument?

300

This data type is used for fractional (decimal) values. 

What is float?

300

The keyword for Boolean.

What is bool?

300

Expression that would calculate how many eggs are left over after packaging 9837 eggs in dozens.

What is

9837 % 12

?


300

If you get this error:

NameError: name 'random' is not defined 

You are probably missing...

What is an import statement?

300

The fancy word for joining strings and other data types in a print statement.

What is concatenation?

400

This data type has only two values, True or False.

What is Boolean?

400

Keyword for getting user info from the keyboard.

What is input?

400

Command to output the result of

 5^2 + 2(7) + 9

(Nothing else)

print(5**2 + 2*7 + 9)

400

Command that would allow you to take in a price from the user (like 1.50)

(answers may vary)

price = float(input("What is the price of a donut")

400

The operation that gives the remainder of a division problem.

What is modulus?

500

This data type is used to deal with imaginary numbers.

(Yup, wasn't covered...)

What is complex?

500

Keyword to bring in functionality besides the basic Python package, like random numbers or special math operations.

What is import?

500

Command to output the square root of 7987 in a sentence starting "Sq rt of 7987 is..."

What is

print("Sq rt of 7987 is " + str(math.sqrt(7987))

500

What does IDE stand for?

Integrated Development Environment

500

The word for turning one data type into another.

Ex: 

age = int(input("How old are you?")

print(str(age) + "is a fine age.")

What is casting?