[Tutor] Rock, Paper, Scissors

Luke Paireepinart rabidpoobear at gmail.com
Sat Aug 12 08:10:23 CEST 2006


....
> He wasn't. From the original post:
>
> 	elif human.choice == 'rocks' and computer.choice ==
> 'scissors':
> 		print "Human wins!"
> 		human.points = human.points + 1
> 	else human.choice == 'scissors' and computer.choice
> == 'rocks':
> 		print "Computer wins!"
> 		computer.points = computer.points + 1
>
>
>   
ah.
thanks for clearing this up.


More information about the Tutor mailing list