Créer jeu
Télécharger
Obtenir Plan Académique
Partager le jeu
Compléter
Compléter

S3 Python Basics

Intégrez-le à votre plateforme

Vous pouvez intégrer le jeu dans un LMS compatible avec LTI 1.1 ou LTI 1.3 comme Canvas, Moodle ou Blackboard. Les scores seront ainsi automatiquement enregistrés dans le carnet de notes de la plateforme.
Télécharger
Vous avez dépassé le nombre maximum de jeux que vous pouvez intégrer à Google Classroom avec votre Plan actuel.

Pour intégrer autant de jeux que vous le souhaitez dans Google Classroom, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Vous avez dépassé le nombre maximum de jeux que vous pouvez intégrer à Microsoft Teams avec votre Plan actuel.

Pour intégrer autant de jeux que vous le souhaitez dans Microsoft Teams, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Le téléchargement du jeu est une fonctionnalité exclusive pour les utilisateurs avec un Plan Académique ou un Plan Commercial.

Obtenez votre Plan Académique ou Plan Commercial dès maintenant et commencez à intégrer vos jeux dans votre LMS, votre site Web ou votre blog.

Si vous le souhaitez, vous pouvez télécharger une jeu de test ici et tester son intégration:

S3 Python Basics

Compléter

Parties jouées 7

À propos de cette activité

Python data types and I/O basics.

Créé par

United Kingdom

Téléchargez la version pour jouer sur papier

Créez votre propre jeu gratuite à partir de notre créateur de jeu
Affrontez vos amis pour voir qui obtient le meilleur score dans ce jeu

Top Jeux

%
Anonyme
Anonyme
%
%
%
Vous avez dépassé le nombre maximum de jeux que vous pouvez imprimer avec votre Plan actuel.

Pour imprimer autant de jeux que vous le souhaitez, vous avez besoin d’un Plan Académique ou un Plan Commerciel.

Imprimez votre jeu
S3 Python Basics
 

Compléter

S3 Python BasicsVersion en ligne

Python data types and I/O basics.

par Mrs Robbie
1

In Python , data types include String , integer , real , and .
= Stores alphanumeric combinations and text .
= Stores positive or negative whole numbers .
= Stores numbers that contain decimal places as well as whole numbers .
= Stores True or False only .

Variables store , and you can display them with the python command . To get user data , use the python command , which returns a string by default . Convert this to integer with ( ) if a number is needed , or to real with float ( ) for decimals . Understanding how each type behaves helps prevent and makes programs clearer and more reliable .

2

loops are used to repeat code a set number of times , whereas loops are used to repeat until a condition is met .

3

#This program will keep asking the user to enter a number until the total of the numbers is between 100 and 200

#initialise total to 0
total = 0

#only loop while the total is not between 100 and 200
total < 100 or total 200 :
#ask for a number
number = ( input ( " Please enter a number : " ) )
#add the number to total and display total
total = total +
print ( )

#display an ending message
( " You have escaped ! " )

4

#initialise total to 0
total =

#start a loop for 10 pupils
for in ( 0 , ) :
#input the age of the pupil that we are on
age = ( ( " How old is pupil " + str ( counter + 1 ) + " : " ) )
#add one to the total for every pupil who is 17 and over
if age = 17 :
total = total +

#outputs the total
print ( , " pupil ( s ) are old enough to drive . " )

5

In Python , beginners start with to store , such as numbers or text . You can values using the print function to display results . A simple loop repeats an action , for example counting from 1 to . You should always test your program to ensure it as .

Voulez-vous vraiment quitter la page ?

Si vous partez, vous perdrez la partie en cours.