Luke Paireepinart escribió:
> Robert Wierschke wrote:
>
>> the else part can't have a condition!!!
>> _______________________________________________
>> Tutor maillist - [email protected]
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>
>>
> Are you referring to Alan's post?
> You should have included the original text in your reply so we would
> know what you're talking about.
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
Ismael
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor