I'm new to coding, so I'm doing some extraordinarily basic things at this stage. But one thing that's driving me nuts is that Pycharm doesn't appear to be handling the max, min, and sum Python functions properly. For example, if I run something like this in IDLE, I get the proper output:
digits = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
max(digits)
If I run that in IDLE I get an output of 9. If I run that exact same thing in Pycharm, there are no results. No error either...just no results. I just get this:
"/Users/michael/PycharmProjects/pythonProject/venv/bin/python /Users/michael/PycharmProjects/pythonProject/PythonTest.py
Process finished with exit code 0"
The output looks exactly the same as when it runs a block of code properly in PyCharm, but there's no max value returned. There's just a blank line between the filepath and the "Process finished with exit code 0" where the max value should appear. This only happens in PyCharm, which I just downloaded and started using today with success (other than the max, min, and sum functions, everything else I've tried works as expected in Pycharm).
I'm using Pycharm 2023.1 Community Edition and Python 3.11.2. This is bizarre - I've done a number of searches online about this (for the past 30 minutes or so) but found nothing so finally gave up and decided to post this here. It's tough to understand why those functions work everywhere except PyCharm, and why I can find nothing about that online. Any ideas would be appreciated, thanks.