Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | 0f5019af3dbd16857665807ed165071010d0e75d |
---|---|
Page Name: | Process Diary for 4th Sep |
Date: | 2012-09-04 02:53:31 |
Original User: | Jax_Star |
Parent: | ae6bd381633fa43cad9f46a5fac488672e761962 (diff) |
Next | 702ee30697ae48614f58741284f7259dd0b50046 |
Content
Today I worked on the NCSS Python Challenge I completed the first question "Middle Number" in the first period and set to work on the second question "What Did Zou Saz"
Here is the code for Q1.
def find_middle(a, b, c):
if a >= b:
if b >= c:
return b
elif a >= c:
return c
else:
return a
elif b >= a:
if a >= c:
return a
elif c >= b:
return b
else:
return c