0

Is it possible in python to do something like this:

def number_clear(num):
    num = 0 
x = 10 
number_clear(x)
print x 
>>0

In C we could do that simply by pointers

Mero
  • 1,280
  • 4
  • 15
  • 25

0 Answers0