Python Forum
Facing problem with Pycharm - Not getting the expected output - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Facing problem with Pycharm - Not getting the expected output (/thread-38155.html)



Facing problem with Pycharm - Not getting the expected output - amortal03 - Sep-09-2022

Hi there!
I am a beginner who is very interested in learning Python.
So, I have written the following code in pycharm.
project = 'course for beginners'
print(project.upper())
I know it is a very simple code and the result should be "COURSE FOR BEGINNERS". Code runs but I do not get the required output. I have attached the screenshot. Please help me.
So, I have found the solution of problem. But I do not know how to delete this post. Sorry


RE: Facing problem with Pycharm - Yoriz - Sep-09-2022

Threads are not deleted when solutions have been found, they are left for others that may be having the same/or similar problem.
If you want to help others you could say what you did to solve it.
It looks to me like you run main.py instead of project 1.py