Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CAN SOMEONE PLS HELP ME WITH THIS QUESTION. IM RUNNING OUT OF TIME I JUST NEED THE ANSWER THE ANSWER NEEDS TO BE IN PYTHON

CAN SOMEONE PLS HELP ME WITH THIS QUESTION. IM RUNNING OUT OF TIME
I JUST NEED THE ANSWER
THE ANSWER NEEDS TO BE IN PYTHON 3 CODING LANGUAGE AND MUST FIT EXACTLY IN THE BLANK SPACES PROVIDED.
(Pls Click Picture to see the full image)
image text in transcribed
4.3 Repeating With Loops Fill in this code for a program that loops through the numbers between 1 and 40. If a number is divisible by 3, print Hip. If the number is divisible by 7, print Hooray. Remember that there may be numbers that are divisible by both 3 and 7, so you'll have to print both messages for those. Fill in the Blanks-Fill in the blanks No, it's not. for number in range 1,40 if number 3== 0: print( "Hip if number print "Hooray" Submit Start over (reset)

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

Demonstrate three aspects of assessing group performance?

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago