x = 50

def func(x):
    print('x hat den Wert', x)
    x = 2
    print('Lokales x geänder zu:', x)


func(x)
print('x hat noch immer den Wert', x)