hey guys frist off i want it to be known that we are closer then ever to finishing this project reson being i got the input to work this was a 1 class day so i didnt get to much done but im almost done
import random
home_team = input("Enter home team name: ")
away_team = input("Enter away team name: ")
home_score = int(input(f"Enter {home_team}'s score: "))
away_score = int(input(f"Enter {away_team}'s score: "))
print(f"\nMatch Result: {home_team} {home_score} - {away_team} {away_score}")
def get_valid_score(prompt):
while True:
try:
score = int(input(prompt))
print (prompt)
if 0 <= score <= 72:
return score
else:
print("Error: The score must be between 0 and 72. Please try again.")
except ValueError:
print("Error: That's not a valid number. Please enter an integer.")
team_a_name = []
team_a_score = []
team_b_name = []
team_b_score = []
print(f"{team_a_name} score: {team_a_score}")
print(f"{team_b_name} score: {team_b_score}")
this is the code that puts the scores as a final score so for example the cowboys and packers you would type DAL for dallas and GB for green bay it would ask for DAL SCORE AND GB SCORE SO 32-17whatever team has 32 would win because 32 is bigger then 17 the rage for score is 0-72 because 72 is the max a nfl team ever sorced

this screenshot explans in more detall
this is the code that puts the scores as a final score so for example the cowboys and packers you would type DAL for dallas and GB for green bay it would ask for DAL SCORE AND GB SCORE SO 32-17whatever team has 32 would win because 32 is bigger then 17 the rage for score is 0-72 because 72 is the max a nfl team ever sorced