#write a program that first reads the number of courses student took during the #semester and then the grade for each course #program counts the number of courses student got A (95 or above) num=int(input("enter number of courses ")) countA=0 for i in range(num): grade=int(input("enter grade ")) if(grade>=95): countA=countA+1 if(countA>0): print("you got", countA, "A's") else: print("no A's")