I'm a beginner of Python..! I'm learning how to define a function and how to print out the result. I was going to print out only y value of function. While practicing, I found weird thing...
if I define function as you see and write the code as below:
def f(x):
y=3*x+5
print(y)
print(f(10))
I get the two result as below... :(
35
None
What I want is only the y value. Can you please explain why None printed out?
I'm learning Python little by little. Thank you so much..!!