Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Activity #1: Howdy Whoop - individual Write a program named howdy_whoop.py that takes as input from the user two positive integers. Output the numbers

image text in transcribed

Activity #1: Howdy Whoop - individual Write a program named howdy_whoop.py that takes as input from the user two positive integers. Output the numbers 1 to 100, each on its own line, unless the number is evenly divisible by one or both of the integers entered by the user. If the number is evenly divisible by the first integer, print Howdy. If it's evenly divisible by the second integer, print Whoop. If it's evenly divisible by both, print Howdy Whoop. Format your output as shown below. User input is shown in bold and red text. Example output (using inputs 2 and 3): Enter an integer: 2 Enter another integer: 3 1 Howdy Whoop Whoop Howdy

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Numerical Methods For Engineers

Authors: Steven C. Chapra, Raymond P. Canale

5th Edition

978-0071244299, 0071244298

More Books

Students also viewed these Mechanical Engineering questions