repl.it
@RyanCrouch/

blipblop

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
def tables1():
    print("program one")
    b = int(input("Enter number > "))
    for x in range(1,11):
        print(b * x)


def tables2():
    print("program two")
    b = int(input("Enter number > "))
    x = 1
    while x <= 10:
        print(b * x)
        x = x + 1

tables1()
tables2()
Fetching token
?