Please Help Me, I Guess It’s Simple
How would I add a function with a “return” value in it? Where would I put it if there was?
answer = float(input("Number can't be less than or equal to zero, try again: "))
Create at least two functions that are called inside the main portion of your program. At least one function should “return” a value.
I already did the first part, it’s just I’m confused on where I’m going to place the return value, cus I don’t see where I could put one.
It doesn’t matter if there are three, I was going to make three anyways for one with the “return” value in it.
well you need to return a value right.
-only 1 in a function as it ends the function
-has to be at the end of a function (in most cases)
also what you could do is:
lololol = int(0)
lololol = int(1)
that would change the value outward.
what you should do is what you have already done.
just add a return value at the end of your function