def print_hi(name):
# Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
if name == 'main': print_hi('PyCharm')
print("欢迎来到Python课堂!")
This is a sample Python script.
Press Shift+F10 to execute it or replace it with your code.
Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
def print_hi(name):
Press the green button in the gutter to run the script.
if name == 'main':
print_hi('PyCharm')
See PyCharm help at https://www.jetbrains.com/h...
print("欢迎来到Python课堂!")