Python Forum

Full Version: Facing problem with Pycharm - Not getting the expected output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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