In :
print("State your five grades for the class: ")
G1 = int(input())
G2 = int(input())
G3 = int(input())
G4 = int(input())
G5 = int(input())

tot = G1+G2+G3+G4+G5
avg = tot/5

if avg>=93:
print("Your Grade is A")
elif avg>=90 and avg<93:
print("Your Grade is A-")
elif avg>=87 and avg<90:
print("Your Grade is B+")
elif avg>=83 and avg<87:
print("Your Grade is B")
elif avg>=80 and avg<83:
print("Your Grade is B-")
elif avg>=77 and avg<80:
print("Your Grade is C+")
elif avg>=70 and avg<77:
print("Your Grade is C")
elif avg<60 and avg<70:
print("Your Grade is D")
elif avg<60:
print("Your Grade is F")
else:
print("Invalid Input!")

State your five grades for the class:
Your Grade is A-

Input grade 1, grade 2, grade 3, grade 4 and grade 5. Then we will all up the total grade and define it as tot. We will take the average by doing tot/5. If the avg is greater than or equal to 93 it will print your grade is A. If the avg is greater than or equal to 90 and less than 93 it will print your grade is A-. If the avg is greater than or equal to 87 and less than 90 it will print your grade is B+. If the avg is greater than or equal to 83 and less than 87 it will print your grade is B. If the avg is greater than or equal to 80 and less than 83 it will print your grade is B- . If the avg is greater than or equal to 77 and less than 80 it will print your grade is C+. If the avg is greater than or equal to 70 and less than 77 it will print your grade is C. If the avg is greater than or equal to 60 and less than 70 it will print your grade is D. If the avg is less than 60 it will print your grade is F. If this is not the case a message will pop saying invalid input.

### Even Cubes to 10

In :
[i**3 for i in range(0,11) if i % 2 == 0]

[0, 8, 64, 216, 512, 1000]

### Array of even cubes to 1000

In :
import numpy as np

In :
x = np.array([0,2,4,8,10])

In :
x**3

array([ 0, 8, 64, 512, 1000])
In [ ]: