Difference between revisions of "CSC111 Homework 9 Solution Programs 2014"

From dftwiki3
Jump to: navigation, search
(hw9b.py)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
----
 
----
  
 +
<onlydft>
  
 
== hw9a.py ==
 
== hw9a.py ==
Line 291: Line 292:
 
== hw9c.py ==
 
== hw9c.py ==
 
<br /><source lang="python">
 
<br /><source lang="python">
def Input( *args ):
 
  if len( args )==0:
 
      ans = input()
 
      print( ans )
 
      return ans
 
  ans = input( ' '.join( args ) )
 
  print( ans )
 
  return ans
 
 
 
# hw9c.py
 
# hw9c.py
 
# Yumeng Wang(cf)
 
# Yumeng Wang(cf)
Line 499: Line 491:
  
 
</source><br />
 
</source><br />
 +
</onlydft>
  
 
<br />
 
<br />

Latest revision as of 20:43, 9 January 2015

--D. Thiebaut (talk) 10:52, 15 April 2014 (EDT)



...