Python wont define function -



Python wont define function -

i getting python , i'm having basic issue....

my source has following...

def calrounds(rounds): print rounds

when run through shell , seek phone call calrounds(3) get..

traceback (most recent phone call last): file "<pyshell#1>", line 1, in <module> calrounds(3) nameerror: name 'calrounds' not defined

its been awhile since i've used python, humour me.

did import source first?

python

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -