Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

16 rader
544 B

4 år sedan
  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/