Coursera Python For Everybody Chapter 10 Tuples Exercise
filename=input("Enter the file name: ") #getting the file name if len(filename) < 1…
filename=input("Enter the file name: ") #getting the file name if len(filename) < 1…
#Write a program to read through the mbox-short.txt # and figure out who has sent the greatest nu…
#Open the file mbox-short.txt and read it line by line. # When you find a line that starts with &…
#Open the file romeo.txt and read it line by line. # For each line, split the line into a list o…
#Write a program that prompts for a file name, then opens that file and reads through the file, #…
#Write a program that prompts for a file name, # then opens that file and reads through the file…
text= "X-DSPAM-Confidence: 0.8475" get1=text.find( ':' ) #find the position…
largest = None smallest = None while True : num = input ( "Enter a number: " )…
def computepay ( h , r ): if (h<= 40 ): pay=(h*r) elif (h> 40 ): …
hrs= float ( input ( "Enter Hours:" )) rph= float ( input ( "Enter rate per hour:&…
score= float ( input ( "Enter the score:" )) if (score>= 0.9 and score<= 1.0 ): …