What method is used to return a string in upper case?

Python - Modify Strings - 3

Quiz
•
Other
•
12th Grade
•
Hard
Amy Austin
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
capitalize()
makeUpper()
toUpperCase()
upper()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method removes whitespace from the beginning or the end of a string?
removeSpaces()
cut()
strip()
trim()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you replace a string with another string in Python?
change()
replaceString()
replace()
swap()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method splits a string into a list?
break()
cut()
split()
divide()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method returns the string in lower case?
lower()
toLowerCase()
smaller()
makeLower()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid string method in Python?
strip()
splice()
split()
replace()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you concatenate strings in Python?
Using the join() method
Using the + operator
Using the concat() method
Using the append() method
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Intro to Python Programming Quiz 9B

Quiz
•
10th Grade - University
10 questions
Python - String Methods - 7

Quiz
•
12th Grade
8 questions
EKG HR Calculation - 6 Second Method

Quiz
•
12th Grade
10 questions
Introductory Quiz

Quiz
•
9th - 12th Grade
12 questions
Intro to Python Programming Quiz 9C

Quiz
•
10th Grade - University
10 questions
Python String formatting

Quiz
•
12th Grade
10 questions
visualisasi Data

Quiz
•
9th - 12th Grade
13 questions
Python Fundamentals and Programming

Quiz
•
11th - 12th Grade
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