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
30 questions
Python Beginner

Quiz
•
6th - 12th Grade
25 questions
Python 4 🐍 incomplete

Quiz
•
9th Grade
23 questions
Python Επανάληψη πριν τα Χριστούγεννα (Κεφ3 & 4 & Συμβολοσειρές)

Quiz
•
11th - 12th Grade
25 questions
Quiz Analisis Data

Quiz
•
10th Grade
22 questions
Python Data Types Quiz

Quiz
•
10th Grade
27 questions
Python Fundamentals - II

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

Quiz
•
KG - University
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th 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
30 questions
Linear Inequalities

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

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