From dc8c822735703eb7a7fe73773dc9094392a6f0a6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 4 Nov 2019 15:28:57 +0200 Subject: [PATCH 1/3] task1 --- task1.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 task1.py diff --git a/task1.py b/task1.py new file mode 100644 index 0000000..7766990 --- /dev/null +++ b/task1.py @@ -0,0 +1,5 @@ +def cypher(): + a=input('Emter your group' ) + cypher=a[0:2] + return cypher +print(cypher()) \ No newline at end of file From 82ed84d7ecdc5d598bd6e773475507fb2d87ff2b Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 4 Nov 2019 15:53:47 +0200 Subject: [PATCH 2/3] task1(corrected version) --- Chyper/__init__.py | 0 Chyper/task1 | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 Chyper/__init__.py create mode 100644 Chyper/task1 diff --git a/Chyper/__init__.py b/Chyper/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Chyper/task1 b/Chyper/task1 new file mode 100644 index 0000000..ac4526c --- /dev/null +++ b/Chyper/task1 @@ -0,0 +1,10 @@ +def cypher(): + """ + + Функція визначає шифр групи + :return: Шифр групи + """ + a=input("Emter your group" ) + cypher=a[0:2] + return cypher +print(cypher()) \ No newline at end of file From 8ec6fb24780ff315c9c5ec84a83aa71a6d8aa13f Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 4 Nov 2019 15:54:54 +0200 Subject: [PATCH 3/3] task1(corrected version) --- task1.py | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 task1.py diff --git a/task1.py b/task1.py deleted file mode 100644 index 7766990..0000000 --- a/task1.py +++ /dev/null @@ -1,5 +0,0 @@ -def cypher(): - a=input('Emter your group' ) - cypher=a[0:2] - return cypher -print(cypher()) \ No newline at end of file