Sep-26-2021, 11:02 PM
Why don't you try things in the Idle Shell?
Idle comes with Python. Even on Windoze.
Or PyCharm?
Not that I am an expert, but I have only ever used Idle for testing things. Works great!
Write or paste any code in Idle, you will immediately see a result or an error message.
With a little function like this:
from the Idle shell:
Idle comes with Python. Even on Windoze.
Or PyCharm?
Not that I am an expert, but I have only ever used Idle for testing things. Works great!
Write or paste any code in Idle, you will immediately see a result or an error message.
With a little function like this:
def printMe(text): print(text)print anything!
from the Idle shell:
Quote:>>> printMe(123)
123
>>> mytext = "Goodbye cruel world!"
>>> printMe(mytext)
Goodbye cruel world!
>>>