Strings in python are surrounded by either single quotation marks, or double quotation marks.
Python Strings

Quiz
•
Computers
•
11th Grade
•
Medium
T. Arman
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You can display a string literal with the type() function.
True
False
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns the string in upper case.
upper()
lower()
strip()
replace()
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns the string in lower case.
upper()
lower()
strip()
replace()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method removes any whitespace from the beginning or the end.
upper()
lower()
strip()
replace()
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method replaces a string with another string.
upper()
lower()
strip()
replace()
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This method returns a list where the text between the specified separator becomes the list items.
upper()
lower()
split()
replace()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java String class methods

Quiz
•
10th - 12th Grade
10 questions
Algorithms & Pseudocode

Quiz
•
8th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
10 questions
Mastering Python String Techniques

Quiz
•
9th - 12th Grade
10 questions
STRING MANIPULATION (PYTHON)

Quiz
•
11th - 12th Grade
10 questions
Mastering String Operations in Python

Quiz
•
9th Grade - University
15 questions
Quiz 142 - Python inputs and outputs

Quiz
•
9th Grade - University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade