Crear
Descargar
Obtener Plan Académico
Compartir juego
Completar Frases
Completar Frases

S3 Python Basics

Intégralo en tu plataforma

Puedes integrar el juego en un LMS compatible con LTI 1.1 o LTI 1.3 como Canvas, Moodle, o Blackboard. De esta manera podrás guardar las puntuaciones automáticamente en el libro de calificaciones de esa plataforma.
Descargar
Has superado el número máximo de juegos que puedes integrar en Google Classroom con tu Plan actual.

Para integrar tantos juegos como quieras en Google Classroom, necesitas un Plan Académico o un Plan Comercial.

Has superado el número máximo de juegos que puedes integrar en Microsoft Teams con tu Plan actual.

Para integrar tantos juegos como quieras en Microsoft Teams, necesitas un Plan Académico o un Plan Comercial.

La descarga de juegos es una característica exclusiva para usuarios con un Plan Académico o un Plan Comercial.

Obtén ahora tu Plan Académico o Comercial y comienza a integrar tus juegos en tu LMS, web o blog.

Si lo deseas, puedes descargar un juego de prueba aquí y probar su integración:

S3 Python Basics

Completar Frases

Jugadas 7

Sobre esta actividad

Python data types and I/O basics.

Creada por

Reino Unido

Descarga la versión para jugar en papel

Crea tu propio juego gratis desde nuestro creador de juegos
Compite contra tus amigos para ver quien consigue la mejor puntuación en esta actividad

Top juegos

%
Anónimo
Anónimo
%
%
%
Has superado el número máximo de juegos que puedes imprimir con tu Plan actual.

Para imprimir tantos juegos como quieras, necesitas un Plan Académico o un Plan Comercial.

Imprime tu juego
S3 Python Basics
 

Completar Frases

S3 Python BasicsVersión en línea

Python data types and I/O basics.

por 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 .

¿Estás seguro que quieres abandonar la página?

Al abandonar la página perderás el progreso del juego.