x
x=3
x
x*x
x
print(x*x)
print(x)
def f(x):
y=x*x
return y
f(3)
def g(x):
if x>0:
y=x*x
print('y=',y)
print('ancora dentro l\'if')
if x<=0:
y=-x
print('y=',y)
if x==0:
y=0 # qui fa zero
return y
g(2)
import uncertainties
z=uncertainties.ufloat(12,2)
t=uncertainties.ufloat(12,3)
z+t
from uncertainties import ufloat
p=ufloat(12,2)
q=ufloat(22,4)
p-q
from uncertainties import ufloat as fl
k=fl(12,2)
j=fl(12,2)
k*j