main.py 556 B

12345678910111213141516171819
  1. # This is a sample Python script.
  2. # Press Mayús+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+8 to toggle the breakpoint.
  7. def other(a):
  8. print(a)
  9. # Press the green button in the gutter to run the script.
  10. if __name__ == '__main__':
  11. print_hi('PyCharm')
  12. # See PyCharm help at https://www.jetbrains.com/help/pycharm/