0

why second line of code is giving me error

Name= input() student_marks=int(input()) total_marks=1100 if student_marks>=0.6*total_marks and student_marks<=1100: print("\"Congratulations\"!",Name,"\nYOU ARE PROMOTED TO CLASS 10TH \n Your marks are ",student_marks, '\n Your percentage is ',str(student_marks/total_marks*100)+"%")

18th Aug 2022, 8:13 AM
Nobleguy
Nobleguy - avatar
1 Respuesta
0
Hi! your program requires the user to enter two values. when the sololern input window pops up, you must enter two values ​ ​ at once in this field, dividing them among themselves with the enter key on your keyboard.
18th Aug 2022, 8:31 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar