Others have mentioned that if you need it, I recommend installing Python 3.10.x or 3.8.x (x can be any real number as long as there is a usable version).
This is mainly because model fine-tuning and similar tasks do not require the latest Python versions; a stable version can avoid the hassle of complicated installations.
This is just an assignment, and I am not a computer science major, so please don’t take it the wrong way [kissing emoji]. I just don’t know why PyCharm has been difficult to install, and there’s no need to comment to show that you understand it well.
It’s quite basic to learn about the functions or directly ask AI, which is faster. The parameters you need to input are entered in the terminal. You just write that number in, and the machine’s output prompts are all strings, which are no different from the previous Chinese characters.
1.63 and 54 are the two values you need to input yourself. After deleting them, run the program and follow the Chinese prompts in the command line.
Except for the ‘xingming’ part, there is also a small issue with the if statement above. The current code executes as long as it is in ‘English_grade’, and the last two are both True, which is unnecessary [doge]. (I just learned this, and I made this mistake once.)