What is the plain text formatting syntax does Jupyter support?
Markdown
What built-in function do you use to display values?
What data type supports characters?
String
What would the output be for:
game = "jeopardy"
game[0:4]
jeop
print(type(data)
print(type(data))
What keyboard shortcut executes a cell?
Shift + Enter
What are the 3 essentials parts to creating a variable?
Variable name, "=", and a value
What built-in function do you use to find out the type of a value?
type()
What would the output be for:
language = "Spanish"
language[2:]
anish
fruit = "lemon'
fruit = "lemon"
or
fruit = 'lemon'
Before running code cells, what's the first thing you have to do?
Select Kernel
What happens when you execute a code cell with a variable that doesn't exist?
You get a NameError
Which data type has a length?
String
What would the output be for:
genre = "country"
genre[:-2]
count = "20" + 4
count = 20 + 4
What two modes do code cells have?
Edit and Command
How can you change the value of a variable?
Re-assign the value
What data types support subtraction?
Integers and floats
What would the output be for:
country = "Brazil"
country[:]
Brazil
print("i","love" "coding)
print("i","love","coding")
If you wanted to clear the memory of a notebook, what should you do?
Restart the kernel
What format should variable names follow? (3)
What would the output be for:
8 // 3
2
What would the output be for:
height = 165
height[2]
TypeError
len(346585793)
len(str(346585793))