Python

Hi everyone I'm learning python on free code camp I was following the tutorial with my VScode but when I run the code def get_choices : player_choice = input ( " Enter a choice ( rock , paper , scissors : " ) computer_choice = ' paper ' choices = ( ' player ' : player_choice , ' computer " : computer_choice } return choices choices = get_choices ( print ( choices ) dict = ( ' name ' : ' beau ' , ' color ' : choices } The same code that in the picture . It runs , then I select Rock or any on my options I get a trece back but when I do on the same code in the web editor where freecodecamp is using , it works fine let's say I select rock again and don't get no traceback . Why ?

Comments

Popular posts from this blog

Amazon Affiliate ( Amazanaffilite.com) Great Earning Site & way.