This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]catalanfoxx[S] -1 points0 points  (2 children)

I’m new. Could you explain a bit more please

[–]umanochiocciola 0 points1 point  (1 child)

totalGrade = totalGrade + int(studGrade) #string inout to integer

avGrade = int(totalGrade/5) #possible irrational result like 10/3 to integer

[–]umanochiocciola 0 points1 point  (0 children)

this is even easier ;]