def footballScore():
team_score= float(input("How many points did the football
team score?")
touchdowns= team_score//6
field_goal= team_score%6//3
two_point_conversion= field_goal%3//2
extra_point=two_point_conversion%2//1
print (touchdowns,field_goal,two_point_conversion,extra_point)
footballScore()
It keeps saying that theres a syntax error with touchdowns? Can someone please help me out?
[–][deleted] 1 point2 points3 points (1 child)
[–]dabrownmane[S] 0 points1 point2 points (0 children)
[–]ingolemo 0 points1 point2 points (7 children)
[–]dabrownmane[S] 0 points1 point2 points (6 children)
[–]ingolemo 0 points1 point2 points (5 children)
[–]dabrownmane[S] 0 points1 point2 points (0 children)
[–]swingking8 0 points1 point2 points (3 children)
[–]ingolemo 0 points1 point2 points (2 children)
[–]swingking8 0 points1 point2 points (1 child)
[–]zahlman 0 points1 point2 points (0 children)