From bc5865e7e4b041d4eeaba10e840c60ea902aafe1 Mon Sep 17 00:00:00 2001 From: sofi Date: Fri, 16 Sep 2022 16:50:17 +0300 Subject: [PATCH] Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit. --- task3.py | 2 +- task4.pu | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 task4.pu diff --git a/task3.py b/task3.py index 91e9f56..f8a0bb2 100644 --- a/task3.py +++ b/task3.py @@ -2,4 +2,4 @@ a = print("введите первоу число: " , end = "") a = int(input()) b = print("введите первоу число: " , end = "") b = int(input()) -print(a, "+" ,d, "=" ,int(a + b)) +print(a, "+" , b , "=" ,int(a + b)) \ No newline at end of file diff --git a/task4.pu b/task4.pu new file mode 100644 index 0000000..b761269 --- /dev/null +++ b/task4.pu @@ -0,0 +1,6 @@ +a = int(input("введите первое число: ")) +b = int(input("введите второе число: ")) +if a > b: + print(a) +elese: + if a < b \ No newline at end of file