Quote:Thanks, I did indeed download and install Pycharm like the other member suggested, but no luck using that either. So I guess I'll just have to use the interpreter/shell mode to see the results of my return statement.Did you understand the part with
print()
?You download PyCharm community edition(free).
[Image: JspzSU.jpg]
Quote:By the way, is there any Python GUI that allows you to run part of the code by either selecting the part you want to run and then choosing run selection or something?Yes, an PyCharm has a couple of ways,when i use it sometimes(i use Atom).
I use mark code --> right click -->
Execute selection in console
.The get output and can continue to test.
If mark all code i get
-1
,but can continue to to test.-1 >>> compare(7, 4) 1 >>> compare(7, 7) 0PyCharm is good for beginner because you get all tool out of the box(use basic tool to run code in the beginning).