Hey @Anvit, you can use something like this:
vowels = 'aeiou'
print (''.join([ l for l in sentence if l not in vowels]))
if __name__ == '__main__':
n = raw_input("Enter a sentance")
You can try this code
for i in ...READ MORE
Hi, good question.
There is a module meant ...READ MORE
Hi. Nice question.
Here is the simplified answer ...READ MORE
Hi, it is pretty simple, to be ...READ MORE
suppose you have a string with a ...READ MORE
You can simply the built-in function in ...READ MORE
Try the strip() function:
s = s.strip()
If you ...READ MORE
Yes there is a function in python ...READ MORE
In Logic 1, try if i<int(length/2): instead of if i<int((length/2+1)):
In ...READ MORE
Hi, the answer is a very simple ...READ MORE