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 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Why do we mark tlc plates with pencil and not with pen
Answers: 2
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
Mathematics, 20.10.2020 07:01
question
English, 20.10.2020 07:01
question
Mathematics, 20.10.2020 07:01
Questions on the website: 13722363