[Tutor] (no subject)

Kirk Bailey deliberatus@my995internet.com
Mon, 24 Dec 2001 18:12:28 -0500

WEll, try this:

def square(x)

Then, try this:

pi = 3.1415926

def areacircle(x)
	return pi * square(x)

then, after you type those in, try this:

R = input("Please input the radius of the circle please?")
# That input will BOMB if you input anything but a number!
print areacircle(R)

Try it. Are we having fun yet?

Iain Long wrote:
> I was reading about instant hacking so i clicked the windows icon and run
> and typed in notepad... and did an example that was shown...
>    radius = 30
>    print radius*radius*3.14 .... i don't know what to do next
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

             -Kirk D Bailey (C)2001
              Addme! icq #27840081

Within the sweep of his sword, Each man is an Ubar.