Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't find a proble here
#1
def ex10():
       mark1 = int(input("Insert math score"))
       mark2 = int(input("Insert Computer Science score"))
       mark3 = int(input("Insert physics score"))
       avg = float(mark1+mark2+mark3)/3
       print ((“avg=”,avg))
ex10()
I get erorr code, avg is not reognized
"invalid character identifier"
Please advice
Reply


Messages In This Thread
Can't find a proble here - by ofir_l - Aug-04-2019, 08:23 PM
RE: Can't find a proble here - by buran - Aug-04-2019, 08:27 PM
RE: Can't find a proble here - by cvsae - Aug-04-2019, 09:39 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020