Python Exercise13

October 5, 2017 0

#regular expressions import re txt=”You can call me on 9988888888. My ATM pin is 1234 . You are good” #find all occurances of “ATM” words=re.findall(“ATM”,txt) Read More

Python Exercise12

September 28, 2017 0

Write a program to take input of integers from the user and divide the numbers handle TypeError and ZeroDivisionError in your program try: a=input(“Please enter Read More

Python Exercise11

September 27, 2017 0

Write a program to take input from command line and print all the values from sys import argv script,first, second =argv print (“The script is Read More

Python Exercise10

September 27, 2017 0

Write a program to find the random numbers from 1 to 100 and call the function for 500 times and print how many times each Read More

Python Exercise9

September 27, 2017 0

Write a program to stop the search as soon as we find 50 in the list numbers = [100, 25, 125, 50, 150, 75, 175] Read More

1 2 3 74