My code behaves fine except that it is INCORRECTLY coded by me because,
i couldnt figure out how to handle the index flow in a conditional way.
Hence i came up with my own stitch work to it and it OUT-RIGHT FUNNY, very childish.
look at the line 6 in my following code
Please tech me how to not deal with such foolish mindset and assert my logic properly....because i feel i beat the lowest layman level with this. I tried to replace on line 6 with following
to move index to skip a vowel print.
But it turns out that str and int wont gel up due to the obvious >racism< between them
text = "pratik" def anti_vowel(text): vow = "" for x in text: if x in "aeiouAEIOU": vow = vow else: vow += x return vow print anti_vowel(text)
I want to remove vow=vow logic production behaviour of my brain too