#Nazwy - konwencja
"""
nazwaZmiennej (camel case)
NazwaZmiennej (pascal case) - klasy
nazwa_zmiennej (snake case) - zmienne - funkcji
NAZWA_ZMINNEJ - stałe 
"""
#TYPY DANYCH
#int - całkowita
a = 10
print(a, type(a))

#float - zmiennoprzecinkowe
b = 6767.6767676767676767676767676767
print(b, type(b))

#string - tekst(łańcuch znaków)
c = "Twój napis"
print(c, type(c))

#bool - prawda/fałsz
d = True
print(d, type(d))

#KONWERSJE
# int na float
e = float(a)
print(e, type(e))

#int na bool
g = bool(67)
print(g, type(g))

#int na string
h = str(6767)
print(h, type(h))

#float na int
f = int(b)
print(f, type(f))

#float na bool
i = bool(3.14)
print(i, type(i))

#float na string
j = str(67.67)
print(j, type(j))

#bool na int
k = int(True)
print(k, type(k))

#bool na float
l = float(True)
print(l, type(l))

#bool na string
m = str(True)
print(m, type(m))

#str na int
n = int("67")
print(n, type(n))

#str na float
o = float("67.67")
print(o, type(o))

#str na bool
p = bool("Jerzy")
print(p, type(p))


#PRZYKŁAD
x = input("Podaj liczbę:")
try:
    x = int(x)
    print(x+10)
except:
    print("Definitywnie jestes nie zamądry jeśli nie głupi przestań wpisywać Nygga xd")