Question: Using python programming. Write a program that prints the numbers from 1 u p to 77 (inclusive) , one per line. However, there are three

Using python programming. Write a program that prints the numbers from 1 u p to 77 (inclusive) , one per line. However, there are three special cases where instead of printing the number, you print a message instead: 1. If the number you would print is divisible by 4 , print the message: Four leaf clovers are lucky! 2. If the number you would print is divisible by 5 , prin t the message: Where do you see yourself in five years? 3. If the number you would print is divisible by 4 and 5 , instead print out: The year 2020 is coming soon! P rint the exact strings given ! Failing to do so will lose you points. Here is some partial sample output, showing from 1 t o 2 0 , and from 7 3 to 77 . Do not import any library

bash - 4.1$ python hw3_part5.py

1

2

3

Four leaf clovers are lucky! Where do you see yourself in five years?

6

7

Four leaf clovers are lucky!

9

Where do you see yourself in five years?

11

Four leaf clovers are lucky!

13

14

Where do you see yourself in five years?

Four leaf clovers are lucky!

17

18

19

The year 2020 is coming soon! [... ]

73

74

Where do you see yourself in five years?

Four leaf clovers are lucky!

77

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!