One of the following functions is not used with Python String

String

Quiz
•
Computers
•
10th Grade
•
Medium
Ержан Ауезов
Used 11+ times
FREE Resource
30 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
Iedc Coders Club Programming Quiz

Quiz
•
University
30 questions
python

Quiz
•
University
25 questions
Program Development - Python: Strings

Quiz
•
9th - 10th Grade
27 questions
Turtle Python Quiz 1

Quiz
•
10th - 12th Grade
25 questions
Introduction to Python

Quiz
•
KG - University
27 questions
python string

Quiz
•
9th - 12th Grade
25 questions
String Manipulation Review

Quiz
•
11th Grade
25 questions
Python Class 9

Quiz
•
9th - 10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University