Jul-29-2021, 05:42 PM
When i print y, why does it say none? instead of returning the value from the function called
x = 1 def edr(x): x+2 print(x) #Here i try to understand variables to store an function in a variable y = edr(x) #It says none and i thought it would either call the function or get the value of x print(y)