main.py 521 B

1234567891011121314151617
  1. # This is a sample Python script.
  2. # Press ⌥⇧R to execute it or replace it with your code.
  3. # Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings.
  4. def print_hi(name):
  5. # Use a breakpoint in the code line below to debug your script.
  6. print(f'Hi, {name}') # Press ⌃' to toggle the breakpoint.
  7. # Press the green button in the gutter to run the script.
  8. if __name__ == '__main__':
  9. print_hi('PyCharm')
  10. # See PyCharm help at https://www.jetbrains.com/help/pycharm/