Python Forum
Return Statement in Python IDLE editor
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Return Statement in Python IDLE editor
#7
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)
0
PyCharm is good for beginner because you get all tool out of the box(use basic tool to run code in the beginning).
Reply


Messages In This Thread
Return Statement in Python IDLE editor - by NMW - Jul-11-2017, 06:44 PM
RE: Return Statement in Python IDLE editor - by NMW - Jul-11-2017, 07:40 PM
RE: Return Statement in Python IDLE editor - by NMW - Jul-11-2017, 08:48 PM
RE: Return Statement in Python IDLE editor - by NMW - Jul-11-2017, 09:31 PM
RE: Return Statement in Python IDLE editor - by snippsat - Jul-11-2017, 09:30 PM
RE: Return Statement in Python IDLE editor - by NMW - Jul-11-2017, 09:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python editor that will SFTP automatically on save sawtooth500 1 401 Apr-30-2024, 05:13 AM
Last Post: Gribouillis
  Why can I not see the code correctly in Python IDLE.? Trump 8 996 Apr-04-2024, 07:47 AM
Last Post: jonesphedra
  Launch Python IDLE Shell from terminal Pavel_47 5 1,490 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  Python Idle won't start totalmachine 9 3,935 Oct-16-2022, 05:57 PM
Last Post: totalmachine
  Why is IDLE not opening on a MacOS Montery 12.6 and using Python 3.10.7? Merlin385 7 1,942 Oct-08-2022, 08:36 PM
Last Post: Merlin385
  Need help with Return statement Columbo 13 2,643 Sep-17-2022, 04:03 PM
Last Post: Columbo
  Sublime Text Editor not recognizing Python elroberto 5 3,174 Jun-13-2022, 04:00 PM
Last Post: rob101
  Music Notation editor; how to build the editor? direction to go? philipbergwerf 1 1,833 Jan-01-2022, 04:56 PM
Last Post: Larz60+
  MAC Python IDLE issue shadow12 4 2,766 Oct-29-2021, 12:22 AM
Last Post: shadow12
  Python MYSQL connection does not work after 1h idle zazas321 9 7,386 Oct-07-2021, 12:02 PM
Last Post: ndc85430

Forum Jump:

User Panel Messages

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