I have this dictionary called biography
self.biography = {\'Name\' : \'\', \'Age\' : 0, \'Nationality\' : \'\', \'Position\' : 0, \'Footed\' : \'\'}
def create_player(self): self.biography['Name'] = input('Player name: ') self.biography['Age'] = int(input('Player age: ')) self.biography['Nationality'] = input('Nationality: ') self.biography['Position'] = input('Position: ') self.biography['Footed'] = input('Footed: ')
try this.