Loading quizzes...
Loading quizzes...
Class 12 • Revision of Python Basics
Other sets in this chapter
What is the output of 'hello'[1:4]?
Which method removes whitespace from start and end?
What is 'python'.upper()?
Result of 'apple'.find('p')?
How to check if a string consists only of digits?
Output of 'a' + 'b'?
What is the output of len(' ')?
Can strings be modified in place (mutable)?
Result of 'banana'.count('a')?
What is the output of '123'.isnumeric()?
How to join list ['a', 'b'] into 'a-b'?
Output of 'Python'[::-1]?
Which operator repeats a string?
Index of 'z' in 'apple' using find()?
Which method replaces a substring?
Is 'Hello' == 'hello'?
What is chr(65)?
What is ord('A')?
Output of 'test'.startswith('te')?
Output of 'hello'.capitalize()?
How to split 'a,b,c' by comma?
What is '\t'?
Result of "" or "hello"?
Result of "apple" and "orange"?
How to swap case in a string?
Output of '1.2'.isdigit()?
Correct syntax for format string?
What is the result of 'abc' * 0?
Which function converts list of chars to string?
Is ' ' (space) an alphanumeric?
0 / 30 answered