From e07e2c66147ccfb97ee751ef7b5ae6384462bca5 Mon Sep 17 00:00:00 2001 From: "MartianCoder-gitgit config --global user.name MartianCoder-git" Date: Fri, 2 Oct 2020 17:16:10 +0530 Subject: [PATCH 1/4] Included important input function and other basic functions like max and min under Basic function section --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c667b50d3..8af1a1253 100644 --- a/README.md +++ b/README.md @@ -495,6 +495,10 @@ Numbers = pow(, ) # Or: ** = abs() # = abs() = round( [, ±ndigits]) # `round(126, -1) == 130` + = input() # name = input('Enter your name: ') + = len() # arg can be be a string, bytes, tuple, list, dictionary, set or range + = max(, , <*args[,key]>) # Returns largest item in iterable or the largest of two or more arguments + = min(, , <*args[,key]>) # Returns smallest item in iterable or the largest of two or more arguments ``` ### Math From 83dcb1334ba4f44d84f8c7aaccb1e2b2b21f69eb Mon Sep 17 00:00:00 2001 From: "MartianCoder-gitgit config --global user.name MartianCoder-git" Date: Fri, 2 Oct 2020 18:27:58 +0530 Subject: [PATCH 2/4] index.html modified --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 32e638905..6bc4a5fdb 100644 --- a/index.html +++ b/index.html @@ -590,6 +590,10 @@

Basic Functions

<num> = pow(<num>, <num>)                # Or: <num> ** <num>
 <num> = abs(<num>)                       # <float> = abs(<complex>)
 <num> = round(<num> [, ±ndigits])        # `round(126, -1) == 130`
+<variable_name> = input(<prompt>)        # name = input('Enter your name: ')
+    <size> = len(<arg>)                      # arg can be be a string, bytes, tuple, list, dictionary, set or range 
+    <max_num> = max(<arg1>, <arg2>, <*args[,key]>) # Returns largest item in iterable or the largest of two or more arguments
+    <min_num> = min(<arg1>, <arg2>, <*args[,key]>) # Returns smallest item in iterable or the largest of two or more arguments
 

Math

from math import e, pi, inf, nan, isinf, isnan

From 211dea59695cec7a32b0bf4adb2a7644f1612e60 Mon Sep 17 00:00:00 2001
From: "MartianCoder-gitgit config --global user.name MartianCoder-git"
 
Date: Fri, 2 Oct 2020 18:34:12 +0530
Subject: [PATCH 3/4] Basic Functions updated

---
 README.md  | 2 +-
 index.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 8af1a1253..3239b62e8 100644
--- a/README.md
+++ b/README.md
@@ -498,7 +498,7 @@ Numbers
  = input()        # name = input('Enter your name: ')
  = len()                      # arg can be be a string, bytes, tuple, list, dictionary, set or range 
  = max(, , <*args[,key]>) # Returns largest item in iterable or the largest of two or more arguments
- = min(, , <*args[,key]>) # Returns smallest item in iterable or the largest of two or more arguments
+ = min(, , <*args[,key]>) # Returns smallest item in iterable or the smallest of two or more arguments
 ```
 
 ### Math
diff --git a/index.html b/index.html
index 6bc4a5fdb..23a63c985 100644
--- a/index.html
+++ b/index.html
@@ -593,7 +593,7 @@
 <variable_name> = input(<prompt>)        # name = input('Enter your name: ')
     <size> = len(<arg>)                      # arg can be be a string, bytes, tuple, list, dictionary, set or range 
     <max_num> = max(<arg1>, <arg2>, <*args[,key]>) # Returns largest item in iterable or the largest of two or more arguments
-    <min_num> = min(<arg1>, <arg2>, <*args[,key]>) # Returns smallest item in iterable or the largest of two or more arguments
+    <min_num> = min(<arg1>, <arg2>, <*args[,key]>) # Returns smallest item in iterable or the smallest of two or more arguments
 

Math

from math import e, pi, inf, nan, isinf, isnan

From 2d7e614a823e33cd168073748da1595777771984 Mon Sep 17 00:00:00 2001
From: "MartianCoder-gitgit config --global user.name MartianCoder-git"
 
Date: Fri, 2 Oct 2020 18:45:06 +0530
Subject: [PATCH 4/4] updated basic function section

---
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.html b/index.html
index 23a63c985..9f3d8bff9 100644
--- a/index.html
+++ b/index.html
@@ -591,7 +591,7 @@
 <num> = abs(<num>)                       # <float> = abs(<complex>)
 <num> = round(<num> [, ±ndigits])        # `round(126, -1) == 130`
 <variable_name> = input(<prompt>)        # name = input('Enter your name: ')
-    <size> = len(<arg>)                      # arg can be be a string, bytes, tuple, list, dictionary, set or range 
+    <size> = len(<arg>)                      # arg can be be a string, bytes, tuple, list, dictionary, set or range
     <max_num> = max(<arg1>, <arg2>, <*args[,key]>) # Returns largest item in iterable or the largest of two or more arguments
     <min_num> = min(<arg1>, <arg2>, <*args[,key]>) # Returns smallest item in iterable or the smallest of two or more arguments