Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- notpassGread = []
- passGread = []
- for i in range(20):
- gread = int(input("Enter gread: "))
- if gread < 60:
- notpassGread.append(gread)
- else:
- passGread.append(gread)
- print("the number of stusned that pass is :{}".format(len(passGread)))
- print("the number of stusned that don't pass is :{}".format(len(notpassGread)))
- print("avrege of passing gread: {}".format(passGread.sum/len.passGread))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement