main.py 521 B

123456789101112131415161718
  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 ⌘F8 to toggle the breakpoint.
  7. # Press the green button in the
  8. # gutter to run the script.
  9. if __name__ == '__main__':
  10. print_hi('PyCharm')
  11. # See PyCharm help at https://www.jetbrains.com/help/pycharm/