print
?vysledek = print("Ahoj světe")
print(vysledek)
for radek in range(4):
radek += 1
for value in range(radek):
print('X', end=' ')
print('')
for radek in range(1, 5):
print('X ' * radek)
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')
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()