I want to translate this JS code to Python 2.7:
var players =
name: 'Player One',
name: 'Player Two',
Accessing player one's name should return 'Player One'.
Accessing one's money should return 1500.
Accessing player two's name should return 'Player Two'.
Accessing two's money should return 1400.
Can you also show how you'd be able to access player 1 and player 2 in the Python translation?
Thanks in advance.
Edited 7/19/2017 21:09:36