I got syntax error SyntaxError: bad input on line 5 in main.pycountries = ["USA", "UK", "Brazil"]teams = ["Team1", "Team2", "Team3"]for country in countries: for team in teams print(country, team)
Semi colon is missing in second for loop. Add the semi colon and try
I got syntax error SyntaxError: bad input on line 5 in main.py
ReplyDeletecountries = ["USA", "UK", "Brazil"]
teams = ["Team1", "Team2", "Team3"]
for country in countries:
for team in teams
print(country, team)
Semi colon is missing in second for loop. Add the semi colon and try
Delete