Find the best tutors and institutes for B Ed Tuition

Find Best B Ed Tuition

Please select a Category.

Please select a Locality.

No matching category found.

No matching Locality found.

Outside India?

Search for topics

Rock, Paper Scissor Game With Computer

Himank Dhingra
18/07/2020 0 0

import random
while a=='y':
       if ran==0:
       elif ran==1:
       elif ran==2:
       player=input('Choose rock, paper or scissor: ')
        if player==computer:
               print('Its a Draw')
        elif player=='rock':
                if computer=='paper':
                       print('Computer hoose paper, Computer Wins!')
                       print('Computer Choose scissor, You Win!')
        elif player=='paper':
                if computer=='scissor':
                        print('Computer choose scissor, Computer Wins!') 
                       print('Computer Choose rock, You Win!')
        elif player=='scissors':
               if computer=='rock':
                       print('Computer choose rock, Computer Wins!')
                        print('Computer Choose paper, You Win!')
        a=input('Do you want to play more?Y/N : ')

0 Dislike
Follow 1

Please Enter a comment


Other Lessons for You

Big Data Hadoop
- Big data is a complex term which is difficult to manage a traditional system like RDBMS, DB2, SQL etc. - Hadoop is an open-source software framework, for storing massive data and running applications...

Ankush Rathod | 13/07/2019

0 0

Looking for B Ed Tuition ?

Find best B Ed Tuition in your locality on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you

Looking for B Ed Tuition Classes?

Find best tutors for B Ed Tuition Classes by posting a requirement.

  • Post a learning requirement
  • Get customized responses
  • Compare and select the best

Looking for B Ed Tuition Classes?

Find best B Ed Tuition Classes in your locality on UrbanPro

Post your learning requirement is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on, to fulfill their learning requirements across 1,000+ categories. Using, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more