Icon New game New game

by Nazneen

Fill in the Blanks

Code snippet fill in the blanks by clicking

Download the paper version to play

0 times made

Created by

Saudi Arabia

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

by NazneenOnline version

Code snippet fill in the blanks by clicking

by nazneen begum
1

Distinction Credit marks grade Fail 80 60 input

## This is a comment
## This Python program Displays the student grade based on input marks
## Grades are : 80 to 100 Distinction , 60 to 79 Credit , 40 to 59 Pass , 0 to 39 Fail

marks = int ( ( " Enter your marks : " ) )
if < 40 : grade = " "
elif marks < : grade = " Pass "
elif marks < : grade = " "
else : grade = " "
print ( " Your Grade is " , )

2

num avg1 num_list res sum

# list with int and floats
num_list = [ 10 , 20 . 5 , 30 , 45 . 5 , 50 ]

# Approach 1 using built - in function sum
res = ( num_list )
avg = res / len ( )
print ( " sum is : " , , " Average is : " , avg )

# Approach 2 using a for loop
res1 = 0
for in num_list :
res1 + = num
avg1 = res1 / len ( num_list )
print ( " sum is : " , res1 , " Average is : " , )

educaplay suscripción