Difference between revisions of "CSC111 Lab3 Solutions 2014"

From dftwiki3
Jump to: navigation, search
(Solution Programs for Lab 3)
 
(2 intermediate revisions by the same user not shown)
Line 182: Line 182:
  
 
if  computerScore > humanScore:
 
if  computerScore > humanScore:
     print( "You lose the round of 3 games! :-(" )
+
     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 193: Line 193:
 
<br />
 
<br />
 
</onlydft>
 
</onlydft>
 +
 
<br />
 
<br />
 
<br />
 
<br />
 
[[Category:CSC111]][[Category:Python]][[Category:Labs]]
 
[[Category:CSC111]][[Category:Python]][[Category:Labs]]

Latest revision as of 20:33, 9 January 2015

--D. Thiebaut (talk) 08:55, 12 February 2014 (EST)


Solution Programs for Lab 3


...