Icon New game New game

Python while loop

Fill in the Blanks

Fill in the blanks for the start of a while loop

Download the paper version to play

Recommended age: 14 years old
29 times made

Created by

United Kingdom

Top 10 results

There are still no results for this game. Be the first to stay in the ranking! to identify yourself.
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

  1. time
    score
  1. time
    score
time
score
time
score
 
game-icon

Fill in the Blanks

Python while loopOnline version

Fill in the blanks for the start of a while loop

by James
1

while number int no input variable

#declare ending
end = " "
#start a loop
end = = " no " :
#input number 1
num1 = int ( ( " Enter number 1 \ n " ) )
#input number 2
num2 = int ( input ( " Enter 2 \ n " ) )
#ask the user for what type of calculation is wanted
opp = ( input ( " What would you like to do : \ n1 \ tAdd \ n2 \ tDivide \ n3 \ tMultiply \ n " ) )

educaplay suscripción