Difference between revisions of "CSC111 Lab3 Solutions 2014"
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
---- | ---- | ||
=Solution Programs for [[CSC111 Lab 3 2014| Lab 3]]= | =Solution Programs for [[CSC111 Lab 3 2014| Lab 3]]= | ||
− | + | <onlydft> | |
<br /> | <br /> | ||
<source lang="Python"> | <source lang="Python"> | ||
Line 182: | Line 182: | ||
if computerScore > humanScore: | if computerScore > humanScore: | ||
− | print( "You lose | + | print( "You lose! I am sorry, but you are no match for me!" ) |
elif computerScore < humanScore: | elif computerScore < humanScore: | ||
print( "You win the 3 rounds! Congrats!" ) | print( "You win the 3 rounds! Congrats!" ) | ||
Line 192: | Line 192: | ||
</source> | </source> | ||
<br /> | <br /> | ||
− | + | </onlydft> | |
+ | |||
<br /> | <br /> | ||
<br /> | <br /> | ||
[[Category:CSC111]][[Category:Python]][[Category:Labs]] | [[Category:CSC111]][[Category:Python]][[Category:Labs]] |