#Multiplication tables
#With input
a = int(input("Enter a number: "))
b = a
c = int(input('Until what number shall I multiply?'))
a < 0
while a < int(c):
a = a + int(b)
print (a)
Friday, 11 December 2015
dfddfdf dfdfdf
#1 Let´s import a toy that we will use later
import time
#2 Print and wait 1 second and print and...
print ('What would you like to eat, sir/madam?')
print (' ')
time.sleep(2)
print ('We have:')
time.sleep(2)
print ('First course:')
print (' Soup, paella, spaghetti and elf-cream')
print (' ')
time.sleep(4)
print ('Second course:')
print (' Meat-balls, Chicken
22. My tables
#Multiplication tables
#x 13, up to 100
a = 0
while a < 100:
a = a + 13
print (a)
#Modify these 2 numbers.
#If you modify 0, what happens?
#x 13, up to 100
a = 0
while a < 100:
a = a + 13
print (a)
#Modify these 2 numbers.
#If you modify 0, what happens?
Subscribe to:
Posts (Atom)