Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def noAOrI(somestring):
- for ch in somestring:
- if(ch!="a"):
- somestring = somestring.replace("a","*")
- if(ch!="i"):
- somestring = somestring.replace("i","*")
- return somestring
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement