awacke1 commited on
Commit
eb701a9
β€’
1 Parent(s): a512ba3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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