print()
?vysledek = print("Ahoj světe")
print(vysledek)
input()
?jmeno = input("Napiš své jméno: ")
print(jmeno)
len()
?delka = len("Petra")
print(delka)
cislo = 20
for cislo in range(5):
print(cislo * "♫")
cislo = cislo + 1
print("V proměnné cislo je uložena hodnota: ", cislo)
for cislo in range(5):
print(cislo * "♫")
promenna = "X"
for j in range(5):
for i in promenna:
print(i, i, i, i, i)
for j in range(5):
print('X ' * 5)
for radek in range(6):
if radek == 0:
for obsah_radku in range(6):
print('X', end=" ")
print()
elif radek == 5:
for obsah_radku in range(6):
print('X', end=" ")
print()
else:
print('X', end=" ")
print(' ' * 7, end=" ")
print('X', end=" ")
print()
for radek in range(6):
if radek == 0:
print('x x x x x x')
elif radek==5:
print('x x x x x x')
else:
print('x x')
for radek in range(6):
if radek == 0 or radek == 5:
print('X ' * 6)
else:
print('X ', ' ' * 6, 'X')
for radek in range(6):
for sloupec in range(6):
if radek == 0 or sloupec == 0 or radek == 5 or sloupec == 5:
print('X', end=' ')
else:
print(' ', end=' ')
print()
pocet = 20
a = 0
b = 1
print(a, b, sep=", ", end=", ")
for i in range(pocet):
dalsi_v_rade = a + b
a = b
b = dalsi_v_rade
print(dalsi_v_rade, end=", ")
print ()
ale print()