I am trying to create a game of rock, paper, scissors. However, when I try to .format a string inside of an input function using a slice I am getting the following:Choose Rock, Sciss or Scissors:
I am using the following script:
options = ['rock', 'paper', 'scissors']
def rock_paper_scissors():
x = ''
for option in options:
if x == '':
x += option.title()
else:
x += ', ' + option.title()
player = input('Choose {} or {}:'.format(x[0:11], x[-8:]))