View simszorkalt.py
 class kitchenclass: fridgefull = 1 drawerfull = 1 petdog = 1 placedescript = 1 kitchenobject=kitchenclass() ##def start(): ## print"you find yourself in the kitchen, you see a fridge, a drawer, and a dog. Exits are to the front room, or up the stairs" ## print "what would you like to do?"
View simszork.yp
 class kitchenclass: fridgefull = 1 drawerfull = 1 petdog = 1 placedescript = 1 kitchenobject=kitchenclass() def start(): print"you find yourself in the kitchen, you see a fridge, a drawer, and a dog. Exits are to the front room, or up the stairs" print "what would you like to do?"
View superkod
 /* * Program made by Safety, ripped some from kod.c and gnutt.c * Credits goes to dekadish(bjurr =)) for gnutt.c. * * This compiles on unix, should compile on windows too with cygwin. * SuperKoD v1.1 * You must run this as r00t. */ #include
View lorentz.py
 import math speedoflight = 3e8 print "lets work out the mass of something moving at a speed near the speed of light (C)" print "what is the initial mass of your object in kg?" initmass = float(raw_input()) print "what is the velocity of your object in m/s?\n(note: C is 3e8, your input can have up to 17 digits before rounding.)" velocity = float(raw_input()) if velocity == 3e8: print "Watch out, you are trying to divide by zero! Try again." else:
View wavelengths0.8.py
 print "This script can convert wavelengths to frequencies or vice versa." speedlight = raw_input("Would you like an (1)exact value of the speed of light, or the (2)rounded value?\n" ) if speedlight == "1": sol = 299792458.00 elif speedlight == "2": sol = 3e8 else: print "Please choose a valid option." #sol = 299792458.00 #this is the speed of light in m/s #sol = 3e8 #this is the speed of light in m/s rounded
View wavelengths0.7.py
 print "This script can convert wavelengths to frequencies or vice versa." sol = 299792458.00 #this is the speed of light in m/s #ol = 300000000.00 #this is the speed of light in m/s def wavelength(): print "Ok, Please enter your wavelength in Metres. (do not use scientific notation)" wavelength = float(raw_input ()) answerfreq = sol / wavelength print "the frequency is %rhz" % answerfreq if wavelength >=1000:
View Wavelengths0.6.py
 print "This script can convert wavelengths to frequencies or vice versa." sol = 299792458.00 #this is the speed of light in m/s #sol = 300000000.00 #this is the speed of light in m/s print "do you have a (1) a wavelength or (2) a frequency?" choice = raw_input() if choice == "1": print "Ok, Please enter your wavelength in Metres. (do not use scientific notation)" wavelength = float(raw_input ())