Beispiel #1
0
from sample_functions import sing_verse, simple_postage

#99Bottles
num = input("Enter a number between 1 and 99: ")
sing_verse(num)

#Postage
weight = input("Enter the weight of your letter in ounces (up to 3.5): ")
simple_postage(weight)
cost = simple_postage(weight)
print "The postage cost to send this letter is $" + str(cost)
from sample_functions import sing_verse
from sample_functions import simple_postage


input_a=input("enter nmber between 1 and 99:")


sing_verse(input_a)


input_b=input("wight of the letter:")

return_b=simple_postage(input_b)
print return_b
from sample_functions import sing_verse, simple_postage
x = input("any number between 1 and 99")
sing_verse(x)
y = input("Enter the weight of a letter")
print simple_postage(y)
from sample_functions import sing_verse
from sample_functions import simple_postage

input_a = input("enter nmber between 1 and 99:")

sing_verse(input_a)

input_b = input("wight of the letter:")

return_b = simple_postage(input_b)
print return_b