Quiz Complete, well Done!
What is the index value of the first character in a string?
type inference
What is a string?
The method to convert a float to an integer in Python is
.
|
|
|
|
|
|
|
|
|
|
global variable
If you try to change the value of a constant, a
will occur.
What is the result of 8 - 3?
A
is a value that cannot be changed.
Which variable type is used to store true/false values in Python?
What happens if you try to add a string and a number together?
Which of the following is an example of using Booleans?
What is the output of len('Coding')?
How can you reverse a string using string slicing?
What is string slicing?
What is the result of concatenating the strings 'Hello' and 'World'?
What is string formatting?
Which of the following is a sensible variable name for a variable that stores a person's last name?
|
|
|
|
|
|
|
|
|
|
What is the result of string indexing a negative index?