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 with AI-Powered 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

Management Accounting Information for Decision-Making and Strategy Execution

Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young

6th Edition

978-0137024971

Students also viewed these Mechanical Engineering questions

Question

33. Can MRP and kanban be used at the same time and if so, how?

Answered: 1 week ago

Question

31. Where does a kanban system work best?

Answered: 1 week ago

Question

32. Where does a drum-buffer-rope system work best?

Answered: 1 week ago