What do you want to save?
Add Code snippet
New code examples
-
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 -
-
Python 2021-11-12 03:17:09
how to make a calculator using idle
def calculate(): operation = input(''' Please type in the math operation you would like to complete: + for addition - for subtraction * for multiplication / for division ''') number_1 = int(input('Please enter the first number: ')) number_2 =... Add solution
Best helpers
Ranking is empty