Untitled
unknown
python
4 years ago
733 B
8
Indexable
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
Editor is loading...