Vocabulary 1
Vocabulary 2
Variable Types/Numbers
Converting
Symbols
100

Words and symbols that tell the computer certain demands.

What is Syntax?

100

A data type that means a number value.

What is an integer?

100

Integer, Boolean, String, and Float.

What are data types?

100

The function for integer.

What is int()?

100

To make a comment.

What is #?

200

Used to put notes in the code or explain what the code is doing?

What is a comment?

200

A data type that means a whole number, positive or negative, with one or more decimal.

What is a float?

200

The data type that does not need any symbols?

What is an integer?

200

The function for string.

What is str()?

200

To assign a variable.

What is equal?

300

A data type that assigns a value to be True or False.

What is Boolean?

300

Changing a variable type.

Converting

300

The most important rules when assigning Booleans.

What is the first letter of True and False must be capitalize?

300

The function for float?

What is float()?

300

Missing: rating = int(input("Rate yourself 1 to 10."

What are 2 parentheses?

400

A data type that means a set of words or numbers surrounded by quotation marks.

What is a string?

400

Attributes that tell the computer how you plan on using the variable.

What are data types?

400

Name 2 ways you can convert to a number.

What is integer and float?

400

Changing a float to an integer. (what happens)

What is it drops the decimal?

400

Symbol(s) that go with the word input.

What are quotation marks and parentheses?

500

To press enter or return to start a new line.

What is line break?

500

To combine variables and text together in a print statement.

Concatenation.

500

For strings, you can use ______ or _______ quotations.

What is single or double?

500

The data type that overpowers other data types.

What is a string?

500

The variable is age and it needs to be converted to a float. (hint: 2 variables, 1 print statement.)

What is

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

converted_age = float(age)
print(converted_age)