From b61db0a89db28e74f5070709611cf3d12c9156d6 Mon Sep 17 00:00:00 2001 From: denis-on Date: Wed, 16 Feb 2022 10:48:36 +0300 Subject: [PATCH] new --- .gitignore | 2 ++ README.md | 2 ++ less-01/main.py | 16 ++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 less-01/main.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e04276f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +venv diff --git a/README.md b/README.md new file mode 100644 index 0000000..fcb5748 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +Основы языка Python +занятие и ДЗ \ No newline at end of file diff --git a/less-01/main.py b/less-01/main.py new file mode 100644 index 0000000..5596b44 --- /dev/null +++ b/less-01/main.py @@ -0,0 +1,16 @@ +# This is a sample Python script. + +# Press Shift+F10 to execute it or replace it with your code. +# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. + + +def print_hi(name): + # Use a breakpoint in the code line below to debug your script. + print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint. + + +# Press the green button in the gutter to run the script. +if __name__ == '__main__': + print_hi('PyCharm') + +# See PyCharm help at https://www.jetbrains.com/help/pycharm/