Python String

Quiz
•
Other
•
Professional Development
•
Hard
Wooihaw Tan
Used 16+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What character will be printed on the screen after running this Python code:
a
l
L
Nothing is printed
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What character will be printed on the screen after running this Python code:
r
u
a
Nothing is printed
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What output will this Python code produce?
Kuala Lumpur
11
12
x
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What output will this Python code produce?
M
s
Msl
Mly
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider this statement:
print(r'foo\\bar\nbaz')
Which of the following is the correct REPL output?
foo\bar\nbaz
foo\bar
baz
foo\\bar\nbaz
foo\\barnbaz
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following Python codes produce the following output (you can select multiple answers)?
I haven't eaten all day and I don't feel hungry.
print("I haven't eaten all day and I don't feel hungry")
print('I haven't eaten all day and I don't feel hungry')
print('I haven\'t eaten all day and I don\'t feel hungry')
print('I haven"t eaten all day and I don"t feel hungry')
Similar Resources on Wayground
6 questions
Pyweek Day 0

Quiz
•
Professional Development
9 questions
Python Tuples

Quiz
•
Professional Development
10 questions
YSEALI 2022 🇲🇾🍽️

Quiz
•
Professional Development
10 questions
Simple Easy Basic Lua Quiz

Quiz
•
4th Grade - Professio...
10 questions
Python Practice 5 - Tuple

Quiz
•
Professional Development
9 questions
Python Operator Precedence

Quiz
•
Professional Development
10 questions
Quiz - Python Programming - Rajendra

Quiz
•
Professional Development
10 questions
Outsolu Nepal Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade