Basic Math
Identify the letter printed from these lines of code: words = "Python is Awesome!" print words[4]
What is 'o'?
This function allows user input text to be assigned to a variable.
What is input()?
What is the value of 'x' after the following Python code has completed executing?
x=100
for n in range(1,5):
x = x*n
print (x)
What is 2400?
Identify the letters printed from these lines of code: words = "Python Rules!" print words[-1]
What is 's'?
Which function generates a random number?
What is randint()?
What makes a variable a string?
What are quotation marks (" ")?