Beruflich Dokumente
Kultur Dokumente
Mr Sameerchand Pudaruth
Lecturer
University of Mauritius
10+ years experience in teaching programming
Author of Python in One Week book
Venue: Floor 1, Phase II Building (CITS), FoE, UoM
Please email on s.pudaruth@uom.ac.mu for booking
*Up to 75% Refund by HRDC, Conditions Apply.
Please visit: http://www.hrdc.mu for more details.
#sample program
def main():
a = input("Input a:")
b = input("Input b:")
mean = findmean(a, b)
print mean
def findmean(x, y):
total = x + y
mean = total/2
return mean
main()