New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Python Strings

Quiz

(1)
Played 81

About this activity

Unit 1.2

Created by

India

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Python Strings
 

Python StringsOnline version

Unit 1.2

by GANGA .
1

Which method checks if all characters in the string are decimal?

2

What does the isdigit() method return if a string contains '123abc'?

3

Which function is used to remove whitespace from the beginning of a string?

4

In string slicing, what does str1[0:6] return if str1 is 'wonderful'?

5

What character is used for string concatenation in Python?

6

Which function capitalizes the first letter of a string?

7

What does the replace() method do?

8

Which method will return True for a string containing only whitespaces?

Written answer

9

If s="Hello, World!", what will s[:5] return?

10

What does the len() function return?

11

Which symbol is used to format strings with variables in Python?

12

Which method will convert 'PYTHON' to 'python'?

13

What will s.find('is') return if 'is' is not found in the string?

14

Which function checks for the presence of a substring?

15

What will be the result of '123'.isalnum()?

16

What method adds leading zeros to a string to fill a certain width?

17

Is it possible to slice a string in reverse using negative indices? (yes/no)

Written answer

18

Select all methods that return True if all characters are numeric.

Choose one or more answers

19

Identify functions that check specific character properties.

Choose one or more answers

20

What are valid arguments for the count() method?

Choose one or more answers

21

Select methods used to check the beginning or end of a string.

Choose one or more answers

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.