Python Forum
Help with arrays assignment
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with arrays assignment
#9
(Jan-30-2019, 02:52 AM)ichabod801 Wrote: Okay, then:

print('What {} is confusing you about the format method?'.format('specifically'))

So I took your advice and changed the eval to int. Whats confusing me is why how to get a line like
team_1[0] = int("How many points did the home", team1 , "score in quarter 1?")
to take the name from the team1 list created from the first question and insert it. Again I get that it's reading as three things I'm just not understanding how to write the line so it takes the input from the enter the home teams name line and input it when asking for scores. It could be something really simple here I'm missing but even after rereading everything, youtube, reading through the forums I still don't get it.
Reply


Messages In This Thread
Help with arrays assignment - by hyg71886 - Jan-29-2019, 11:33 PM
RE: Help with arrays assignment - by ichabod801 - Jan-29-2019, 11:41 PM
RE: Help with arrays assignment - by hyg71886 - Jan-29-2019, 11:58 PM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 02:06 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 02:27 AM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 02:27 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 02:36 AM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 02:52 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 02:59 AM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 03:03 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 03:22 AM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 03:28 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 03:43 AM
RE: Help with arrays assignment - by ichabod801 - Jan-30-2019, 04:07 AM
RE: Help with arrays assignment - by hyg71886 - Jan-30-2019, 04:10 AM
RE: Help with arrays assignment - by perfringo - Jan-30-2019, 09:36 AM

Forum Jump:

User Panel Messages

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