From df80aaea346c3667dcef863609d5beaf910b6771 Mon Sep 17 00:00:00 2001
From: Minhaj Ahmed Moin <21280679+MinhajMoin@users.noreply.github.com>
Date: Wed, 19 Feb 2020 21:54:29 +0500
Subject: [PATCH 1/2] Few Additions
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index ca05ab6..44559e1 100644
--- a/README.md
+++ b/README.md
@@ -3249,6 +3249,10 @@ if char == "a" or char == "y" or char == "o" or char == "e" or char =="u" or ch
+```
+if lower(input("Insert a character: ")[0]) in "aieou":
+ print("It's a vowel!")
+```
Explain inheritance and how to use it in Python
From 8952da6073502aa9ba86c645b00275b55c0a995a Mon Sep 17 00:00:00 2001
From: Minhaj Ahmed Moin <21280679+MinhajMoin@users.noreply.github.com>
Date: Wed, 19 Feb 2020 22:26:05 +0500
Subject: [PATCH 2/2] k
---
README.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 44559e1..4615f31 100644
--- a/README.md
+++ b/README.md
@@ -3247,12 +3247,20 @@ if char == "a" or char == "y" or char == "o" or char == "e" or char =="u" or ch
print("It's a vowel!")
```
-
```
-if lower(input("Insert a character: ")[0]) in "aieou":
+if lower(input("Insert a character: ")[0]) in "aieou": # Takes care of multiple characters and small/Capital cases
print("It's a vowel!")
```
+OR
+```
+char = input("Insert a character: ") # For readablity
+if lower(char[0]) in "aieou": # Takes care of multiple characters and separate cases
+ print("It's a vowel!")
+```
+
+
+
Explain inheritance and how to use it in Python