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 Tuples Mastery

Quiz

Played 0

About this activity

Quiz on Python tuples

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 Tuples Mastery
 

Python Tuples MasteryOnline version

Quiz on Python tuples

by manpreet kaur
1

What is a tuple in Python primarily?

2

How do you create a single-element tuple?

3

Are tuples mutable or immutable?

4

How can you concatenate two tuples t1 and t2?

5

How do you convert a list to a tuple?

6

What does len(my_tuple) return?

7

Can a tuple contain mutable objects like a list inside?

8

How do you unpack a 3-tuple t into variables a, b, c?

9

What is the result of (1,2,3) * 2?

10

Can a tuple be used as a dictionary key?

Feedback

Tuples are ordered like lists but immutable.

A trailing comma distinguishes a 1-tuple from a plain expression.

Tuples cannot be changed after creation.

The + operator returns a new tuple with elements from both.

The built-in tuple() casts an iterable to a tuple.

len returns the count of elements in the tuple.

Tuples can contain mutable elements; immutability is about the tuple itself.

Tuple unpacking assigns each element to a variable.

Tuple repetition duplicates the sequence.

Hashable tuples (with hashable contents) can be dict keys.

Are you sure you want to leave the page?

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