Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
733 B
2
Indexable
Never
def alfabet():

    password = input()
    table = password.split()
    print(table)
    table_length = len(table) #określenie długości tablicy
    x=0
    table2d=[table[x:x+2] for x in range(x, len(table), 2)] #podział na tablicę dwuwymiarową




def sprawdz():
    coords = []
    username = input()
    coordinates = input()
    coords = coordinates.split()
    pwd = input()

    print(username)
    print(coords)
    print(pwd)

#równanie prostej y=(5/2x)-(13/2)
table2d=[]
table = []
running = True
while running:
    option = input()

    if option == 'ALFABET':
        alfabet()
    elif option == 'SPRAWDZ':
        sprawdz()
    elif option == 'KONIEC':
        running = False