main.py 544 B

12345678910111213141516
  1. # This is a sample Python script.
  2. # Press Shift+F10 to execute it or replace it with your code.
  3. # Press Double Shift 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 Ctrl+F8 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/