One of the following functions is not used with Python String

python string

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Ержан Ауезов
Used 2+ times
FREE Resource
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Split
Remove
Replace
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct code to print line of 10 stars using repetition operation:
print("**********")
print("*"*10)
print("*"^10)
print("*"+10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax of the len function for string x:
x.len()
len[x]
LEN[]
len(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string x to uppercase is :
X.upper()
upper(x)
x.UPPER[ ]
x.upper()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct syntax for converting the string myname to lowercase is :
myNAME.lower[ ]
myname.lower( )
myname.upper( )
myname_lower(12 )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To remove the spaces present at start and end of the string, you can use
split()
len()
strip()
remove()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let x= "python is a high level language", the output of print(len(x[-1])) is
1
31
Error
25
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Data Types- Python

Quiz
•
7th - 11th Grade
26 questions
Python set 1

Quiz
•
9th - 12th Grade
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
30 questions
Python Basics

Quiz
•
8th - 10th Grade
25 questions
Python Test

Quiz
•
9th - 12th Grade
25 questions
Program Development - Python: Strings

Quiz
•
9th - 10th Grade
30 questions
Python

Quiz
•
9th Grade
25 questions
PYTHON QUIZ 1

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade