From 7e7ffabf40791999a65c80cac9525543dba0f2ec Mon Sep 17 00:00:00 2001 From: Elham Fazel <55910811+fazelelham32@users.noreply.github.com> Date: Sat, 24 Jun 2023 20:25:56 +0330 Subject: [PATCH 1/2] Add files via upload --- Cr1.py | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ a.txt | 3 +++ 2 files changed, 69 insertions(+) create mode 100644 Cr1.py create mode 100644 a.txt diff --git a/Cr1.py b/Cr1.py new file mode 100644 index 0000000..6e3391f --- /dev/null +++ b/Cr1.py @@ -0,0 +1,66 @@ +Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32 +Type "help", "copyright", "credits" or "license()" for more information. +>>> print("Hello, World!") +Hello, World! +>>> 18/3 +6.0 +>>> 18/7 +2.5714285714285716 +>>> 18.0/7 +2.5714285714285716 +>>> 18.0/7.0 +2.5714285714285716 +>>> 18/7. +2.5714285714285716 +>>> 9%4 +1 +>>> 8%4 +0 +>>> 8.75%.5 +0.25 +>>> 6*7 +42 +>>> 8**3 +512 +>>> -5**4 +-625 +>>> x = 18 +>>> x + 15 +33 +>>> x**3 +5832 +>>> y=54 +>>> x+y +72 +>>> g=input("Enter number here: ") +Enter number here: 43 +>>> g + 32 +Traceback (most recent call last): + File "", line 1, in + g + 32 +TypeError: can only concatenate str (not "int") to str +>>> 5**4 +625 +>>> pow(5, 4) +625 +>>> abs(5) +5 +>>> abs(-18) +18 +>>> import math +>>> math.floor(18.7) +18 +>>> math.sqrt(81) +9.0 +>>> bucky = matj.sqrt +Traceback (most recent call last): + File "", line 1, in + bucky = matj.sqrt +NameError: name 'matj' is not defined +>>> bucky=math.sqrt +>>> bucky(9) +3.0 +>>> bucky=math.floor +>>> bucky(19.8) +19 +>>> \ No newline at end of file diff --git a/a.txt b/a.txt new file mode 100644 index 0000000..3032e41 --- /dev/null +++ b/a.txt @@ -0,0 +1,3 @@ +this is a new line +this is line 2 +mmm i sure love baconthis is the last ANd final line \ No newline at end of file From c5b077decffbc03d28a8fe37d72b72c8d646f122 Mon Sep 17 00:00:00 2001 From: Elham Fazel <55910811+fazelelham32@users.noreply.github.com> Date: Sat, 24 Jun 2023 21:30:37 +0330 Subject: [PATCH 2/2] Delete Courses Python --- Courses Python | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Courses Python diff --git a/Courses Python b/Courses Python deleted file mode 100644 index 8b13789..0000000 --- a/Courses Python +++ /dev/null @@ -1 +0,0 @@ -