怎样理解pycharm中的默认代码:
def print_hi(name):
# Use a breakpoint in the code line below to debug your script.
print(f'Hi, {name}') # Press ⌘F8 to toggle the breakpoint.
Press the green button in the gutter to run the script.
if name == 'main':
print_hi('PyCharm')
#问题:
#1. 函数中的print(f'Hi, {name}'),怎么理解这里的f ?
#2. name == 'main',怎么理解?

