print "loading math" import math print "math loaded" print "loading time" import print "time loaded" print "configuring varibels" time.sleep(5) print "configuring number1" time.sleep(5) number1 = 1 print number1 print "number1 configured" time.sleep (0.1) print "finding numbers" tam = math.tan(number1) print tam zin = math.sin(number1) print zin print "numbers found" def funkDone( numE ): print "the result is" print numE time.sleep (0.1) return; def funk1( zinA, tamA ): numA = tamA/100 numB = numA/zinA numC = numB*100 print numC time.sleep (0.1) funk2(numC) return; number2 = 1 def funkAdd(numF, addNum): number1 = numF + addNum print number1 time.sleep (0.1) funk2(number1) return; def funkSub(numG, subNum): number1 = numG - subNum number2 = subNum / 10 print number1 time.sleep (0.1) funk2(number1) return; def funk2( numD ): if numD == 1: funkDone(numD) elif numD > 1: funkAdd(numD, number2) elif numD < 1: funkSub(numD, number2) else: print "ERROR 1" return; time.sleep (0.1) print "setup done" time.sleep (0.1) funk1(zin, tam)
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question