Rock, Paper, Scissors
Հիմնված է: 20-08-2019This program was written via Python. This simple game is like our childhood “Rock, Paper, Scissors” between the computer and the user. The User enters the first letter of “Paper”, “Rock” or “Scissors” and the computer chooses one of them randomly. Code combines these two things. Then it checks this combination in the user’s winning combination list. When these two combinations coincide, the User wins. Else if the user and the computer entered the same things, the Python Shell Prints “==Tie==”. Else Python Shell prints “You lose -_-”
Մի քիչ դժվար էր սկզբի հատվածը մտածելը, բայց կարողացանք գլուխ բերել, չէ՞, ընկեր Սարգիս։
2019-09-06 21:22:01