Python Forum
Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
function exercise
#2
The answer is in your post. Remember, proper indentation is very important in Python. Also, "imc" is the name of your function, so you don't want to use it as a variable.  Take another look at the pseudo code and then give it a try
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Messages In This Thread
function exercise - by tdebeaulieu - Nov-16-2017, 11:23 PM
RE: function exercise - by sparkz_alot - Nov-17-2017, 01:48 AM
RE: function exercise - by iFunKtion - Nov-17-2017, 11:53 AM
RE: function exercise - by tdebeaulieu - Nov-20-2017, 04:50 PM

Forum Jump:

User Panel Messages

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