Python Forum
Team Chooser Challenge
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Team Chooser Challenge
#3
Please, fix the indentation of your code. As is, it's difficult to make sense of it.

Also, this is good example why you don't create variable names like you do, e..g. PlayerA, team_namesA,etc. What if you need to create 10, 50 or 100 teams/players. Would you have separate variable name for each player/team Use proper data structure - list/dicts/etc.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Team Chooser Challenge - by kanchiongspider - Jun-01-2020, 03:31 AM
RE: Team Chooser Challenge - by pyzyx3qwerty - Jun-01-2020, 04:24 AM
RE: Team Chooser Challenge - by buran - Jun-01-2020, 05:09 AM
RE: Team Chooser Challenge - by kanchiongspider - Jun-02-2020, 04:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Meal cost challenge Emekadavid 3 2,950 Jun-01-2020, 02:01 PM
Last Post: Emekadavid
  Appending To Files Challenge erfanakbari1 3 3,035 Mar-27-2019, 07:55 AM
Last Post: perfringo
  Problem with a basic if challenge erfanakbari1 2 2,051 Oct-12-2018, 08:04 AM
Last Post: erfanakbari1
  trying an online challenge tozqo 8 6,087 Jun-21-2017, 07:07 AM
Last Post: Kebap

Forum Jump:

User Panel Messages

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