Python Exercise 2

——> file name hello.py def foo(): print “Hello Amar Sharma” if __name__ == “__main__”: foo() Exercise- Using List Comprehension get the list of vowels in word “INDIAN”. ——————-sample—————————- # Python Module example def add(a, b): “””This program adds two numbers and return the result””” result = a + b return result Exercise – Make a … Continue reading Python Exercise 2