Programming workshop

Python programming workshop took place from 25-29 may 2009.

Some of the programmes done by students as an output of the workshop are given below

1.To find the largest odd number from a list

a=[7,9,8,4,3)

largest=00

for u in a:

p=u/2

q=(u+1)/2

if p!=q:

if u>largest:

largest=u

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: