0
what is the problem?
a = input("how many students in class?: ") b = input("what grade the student in class?: ") print (b/a) it can’t run because a and b is str please solve it
2 Antworten
+ 2
Try this:
a = int(input("How many students in class?: "))
b = int(input("What grade the student in class?: "))
print(b/a)
And next time try including relevant tags in your questions.
0
Diego Acero thx! i’l do it