Python Forum
Hi , why can't i return this value?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi , why can't i return this value?
#2
def my_sum(x, y):
       sum = x + y
       return sum
 
print(my_sum(1, 2))
Reply


Messages In This Thread
Hi , why can't i return this value? - by Houston222 - Feb-09-2020, 04:13 AM
RE: Hi , why can't i return this value? - by michael1789 - Feb-09-2020, 04:50 AM
RE: Hi , why can't i return this value? - by karkas - Feb-09-2020, 01:29 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020