Nov-08-2022, 05:07 PM
I am JUST learning Python. In my learning, I wrote a Rock, Paper Scissors program. It worked great.
BUT... Now when I am trying to write other programs, when I press run, it runs the Rock, Paper, Scissors program. Why?
Here is a sample of a program that I am trying to get started (I know my code is likely awful, but I am just getting started on it)...
I have tried uninstalling and reinstalling both Python and PyCharm with no luck. I am using Python 3.11.
Thank you.
BUT... Now when I am trying to write other programs, when I press run, it runs the Rock, Paper, Scissors program. Why?
Here is a sample of a program that I am trying to get started (I know my code is likely awful, but I am just getting started on it)...
import openpyxl print("Test!!!") wb = load_workbook("Test.xlsx") ws = wb.active ws.rows(0).font=Font(bold=True) wb.save("Test.xlsx")When I try to run this, it prints "What is your choice? - rock®, paper(p), or scissors(s)?: "
I have tried uninstalling and reinstalling both Python and PyCharm with no luck. I am using Python 3.11.
Thank you.