Write a program that accepts a string and redisplays the same string after removing vowels from it.
Input:
welcome
Output:
wlcm
string = input("Enter any String: ") b=[] c=0 for i in range(len(string)): if (string[i]=="a" or string[i]=="e" or string[i]=="i" or string[i]=="o" or string[i]=="u"): c=c+1 else: b.append(string[i]) print ('\nWithout Vowels: ',*b,sep='')
INPUT_1:
Enter any String: welcome
OUTPUT:
Without Vowels: wlcm
INPUT_2:
Enter any String: fcukthecode
OUTPUT:
Without Vowels: fckthcd
INPUT_3:
Enter any String: Pirate king
OUTPUT:
Without Vowels: Prt kng
INPUT_4:
Enter any String: Monkey D. Luffy
OUTPUT:
Without Vowels: Mnky D. Lffy
ILLUSTRATION
Morae Q!
- Program to get dictionary items, use update module and items module.
- Regular expression allowing certain set of characters.
- Compute the Sum of Cosine Series.
- Find the Sum of Sine Series.
- Remove the Vowels from the string.
- Find All Non-Overlapping strings/characters using regular expressions .
- Check whether the given string is Panagram or not.
- Replacing strings using Regular Expression Regex.
- Check whether the given number is Strong number or not.
- Find the numbers divisible by a input numbers within the given range.
- Change the behaviour of the Regular Expression using flags.
- Find the exponentiation of a number.
- Find all prime numbers in a range using Sieve of Eratosthenes.
- Convert decimal equivalent into binary, hexadecimal and octal.
- Compute the area of a farmers field in feet.
- Compute time from number of days/hours to seconds.
- Precompiled patterns using Regular Expressions .
- Compute the price of the cake on the nth day.
- Compute the number of possible non-increasing arrays.
- Find the type of spinach using the calorie value.