example = "helle"
print(example.rfind("e") )
python(strings)
Quiz
•
Computers
•
11th Grade
•
Hard
PRIYANSHU XI-A
Used 49+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
example = "helle"
print(example.rfind("e") )
-4
4
3
1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
example="helloworld"
print(example[::-1].startswith("d"))
dlrowolleh
True
c) -1
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the “hello” +1+2+3?
hello123
hello
Error
hello6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
print("D", end = ' ')
print("C", end = ' ')
print("B", end = ' ')
print("A", end = ' ')
DCBA
A,B,C,D
D C B A
D
C
B
A
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Say s=”hello” what will be the return value of type(s)?
STRING
bool
str
String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is “Hello”.replace(“l”, “e”)?
Heeeo
Heelo
Heleo
none
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
print("abcdef".find("cd") == "cd" in "abcdef")
True
False
error
none
10 questions
10 CS // Pseudocode
Quiz
•
9th - 11th Grade
10 questions
Python Basics
Quiz
•
11th Grade
12 questions
Python Programming Basics
Quiz
•
7th - 11th Grade
10 questions
Programming Basics Basics
Quiz
•
8th Grade - University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)
Quiz
•
1st Grade - University
10 questions
Arrays
Quiz
•
10th - 12th Grade
15 questions
PYTHON PROGRAMMING
Quiz
•
11th - 12th Grade
12 questions
Project-Stem Unit 1 python coding
Quiz
•
9th - 12th Grade
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
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