IST_Individual_Task

Update of "Process Diary for 4th Sep"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 1898f2790889f575276fb089100d659cfe6508f4
Page Name:Process Diary for 4th Sep
Date: 2012-09-04 02:59:18
Original User: Jax_Star
Parent: 702ee30697ae48614f58741284f7259dd0b50046 (diff)
Next 59a62324487f7ee200605240efac216a0c6233a4
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. (<tab> is where a tab is inserted)
def find_middle(a, b, c):
<tab>if a >= b:
<tab><tab> if b >= c:
<tab><tab><tab> return b
<tab><tab>elif a >= c:
<tab><tab><tab>return c
<tab><tab>else:
<tab><tab><tab> return a
<tab>elif b >= a:
<tab><tab>if a >= c:
<tab><tab><tab>return a
<tab><tab>elif c >= b:
<tab><tab><tab>return b
<tab><tab> else:
<tab><tab><tab> return c