Question: Simple Python Problems Assignment 5 1) Input. Read a line from the terminal and echo it to the user. 2) Integer input. Read a line

Simple Python Problems Assignment 5

1) Input. Read a line from the terminal and echo it to the user.
2) Integer input. Read a line and convert it to an integer (if you can)
3) Leap year

a leap year is divisible by 4, except when its divisible by 100 and not by 400.

Write a program to tell if a year is a leap year.

4) Sum all the integers below 1000 that are multiples of 3 or 5
5) what is the largest palindrome made by the product of two three digit numbers?
6) Say

given an integer that is less than a hundred, print out the words for that integer. In other words, given 33 print out thirty-three. By the way don't print out fourty for 40.

7) Unsay.

Given a word for an integer (e.g. Thirty-three) output the integer.

8) Multiply by words.

Given two words for integers, output their product as an integer. (i.e. Three eleven outputs 33).

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!