What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-27 09:35:14
get first letter of each word in string python
def abbrevName(name): xs = (name) name_list = xs.split() # print(name_list) first = name_list[0][0] second = name_list[1][0] return(first.upper() + "." + second.upper()) answer = abbrevName("Ozzie Smith") prin... Add solution -
Python 2022-01-22 14:56:11
py to flag converter online
(lambda __print, __g: [[[(lambda __after: (main(), __after())[1] if (__name__ == '__main__') else __after())(lambda: None) for __g['main'], main.__name__ in [(lambda : (lambda __after: (__print(((((((((((((keys[18].upper() + keys[10].upper()) + keys[24].u... Add solution -
Python 2021-12-23 18:18:07
python mayusculas
>>> a.upper() 'LA CASA DE LA PRADERA' Add solution -
Python 2021-11-21 16:13:13
how to check if a string has vowels in python
#making Function def check_for_any_vowel(word:str): if word == None or word == "": raise Exception("The argument 'word' is None or empty") word = word.upper() vowelfound = False vowels = "AEIOU" ... Add solution
Best helpers
Ranking is empty