subject
Computers and Technology, 20.10.2021 04:30 soniah

[Python]You have been asked to write a loop that outputs values in a database column ranging between 10 and 100. Any number that is not divisible by 5, and any value that is not an integer, should be ignored. When the value in the loop hits 95, break the loop prematurely. One of your team members has advised the use of break, continue, and pass statements. Define a for loop, using the range function to create the lower (10) and upper (100) limits.

Define a condition that checks for zero.

Define a condition that checks whether the number is divisible by 5.

Define a condition that checks the data type.

Define a condition that checks for 95, and breaks the loop.

Define a condition that uses the pass statement if the number doesn't meet any condition.

Print the number if it meets the condition.

The output will be as shown in Snippet 3.65:

10

15

20

25

30

35

...

...

80

85

90

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Ihave an iphone 8plus should i get another phone like samsung note 9 or s9 ? ?
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
in 2007, floridians died in alcohol-related collisions.a.  501b.  1,051c.  5,015d.  10,839
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
You know the right answer?
[Python]You have been asked to write a loop that outputs values in a database column ranging between...
Questions
question
Social Studies, 02.07.2019 23:00
question
Physics, 02.07.2019 23:00
question
Computers and Technology, 02.07.2019 23:00
question
Mathematics, 02.07.2019 23:00
Questions on the website: 13722363