Commit 6951d3f8 by Patryk Czarnik

Programy pisane w Notepad++

parent ec4b5caf
print('Hello world') print('Hello world')
print("To też jest napis")
print('Ala', end='')
print(' ma kota')
print('wynik mnożenia', 3 * 123, 'aha', sep=',')
print('Witamy w kolejnym programie')
imie = input('Jak masz na imię? ')
print('Witaj', imie)
wiek = int(input('Ile masz lat? '))
print('To za rok będziesz mieć', wiek+1)
if wiek >= 18:
print('Możesz kupić piwo')
else:
print('Jesteś osobą niepełnoletnią')
print('Żegnaj...')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment