Update app.py
Browse files
app.py
CHANGED
@@ -48,10 +48,10 @@ exclusions = st.text_input(label="exclusions")
|
|
48 |
# Remove remaining choices after exclusions
|
49 |
for character in exclusions:
|
50 |
if any(c in exclusions):
|
51 |
-
Vowels.replace(c,'')
|
52 |
-
Consonants.replace(c,'')
|
53 |
-
Vowels.replace(' ', '').replace(',','')
|
54 |
-
Consonants.replace(' ', '').replace(',','')
|
55 |
st.write("Vowels Remaining = ", (Vowels))
|
56 |
st.write("Consonants Remaining = ", (Consonants))
|
57 |
|
|
|
48 |
# Remove remaining choices after exclusions
|
49 |
for character in exclusions:
|
50 |
if any(c in exclusions):
|
51 |
+
Vowels = Vowels.replace(c,'')
|
52 |
+
Consonants = Consonants.replace(c,'')
|
53 |
+
Vowels = Vowels.replace(' ', '').replace(',','')
|
54 |
+
Consonants = Consonants.replace(' ', '').replace(',','')
|
55 |
st.write("Vowels Remaining = ", (Vowels))
|
56 |
st.write("Consonants Remaining = ", (Consonants))
|
57 |
|