Upgrading pip.
KianAlford (7)

I cannot upgrade my pip. I'm trying to install the random package but it tells me to upgrade my pip.
Here is my error:
"Could not find a version that satisfies the requirement Random (from versions: )
No matching distribution found for Random
You are using pip version 9.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command"

You are viewing a single comment. View All
Answered by TheDrone7 (1242) [earned 5 cycles]
View Answer
a5rocks (785)

@KianAlford um... you could do:

player_1 = random.sample(LIST_HERE, 26)
player_2 = random.sample([item for item in LIST_HERE if item not in player_1], 26)

Btw, yw :D