
String in Python
Authored by Sarika Kaushal
Computers
11th Grade
Used 25+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What syntax can you use to insert a line break between strings so that they appear over multiple lines?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following code?
print("Hello world!" * 2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Joining elements together to make a string is called what?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you want more than one option for your code, what do you use (after if)?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
people = ["John", "Rob", "Bob"]
print (people[-1])
what would this result be?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
people = ["John", "Rob", "Bob"]
print (people[4])
what would this result be?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What letter will be printed on the screen after running this code:
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?