Question: what are the python codes for these 3 questions? Locked i 2020 SPRING SYS 120 LAB 04.docx Regular 12 B 1.0 Courier New 3 lo

 what are the python codes for these 3 questions? Locked i what are the python codes for these 3 questions?

Locked i 2020 SPRING SYS 120 LAB 04.docx Regular 12 B 1.0 Courier New 3 lo 11 2 14 6 17 Leap year Write a program that asks the user for a year. The program should print out whether or not that year is a leap year, per the rules stated above. The program should continue asking the user to input a year and printing the assessment of leap year or not for 5 iterations. Write a function def isLeap Year(year): that accept the year as an integer argument and returns True or False as the return value from the function. The main function should use this to determine what to print for the determination of leap year or not. L04-11. Write a function called showASCII that accepts a string as an argument. It should print the character and the ASCII value for each character in the string. For instance: >>> showASCII ("ABCD") A-65 B66 C 62 D-68 >>> showASCII ("abc") Q-97 b-98 99 L04-12. Write a function called printASCIIRange that will print the numeric value and the character for every ASCII value between (and including) a low and high range passed as parameters. For instance: >>> printASCII Range (65,691 65-A 66-3 67-C 68-D 69-E L04-13. Write a function reverse String that accepts a string as an argument and returns the string with the characters in reverse order without using the reverse method. Output should be something like: >>> reverseString("Hello") Follo Write the reverse string function in three additional different ways. You may NOT use .reverse)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!