subject

For this question you should write code using the tools you learned so far. the code will find all the integers in the interval from 1 to 12000 that are divisible by both 3 and 14. print all the numbers that satisfy this criterion and also print a statement saying how many such number exist in the range. hint: the "modulo" operator is denoted by a percent sign % in python. it returns the remainder when two integers are divided. for example, 5%2 (read: "5 mod 2") returns a value of 1, because 5 divided by 2 is 2 with the remainder 1. the result of a modulo x%d is always between 0 and d-1. use the modulo operator to determine if one integer is divisible by another. second hint: remember the logical operators and, or and not are available in python.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
If the polar bear were taken out of the food chain what would happen to the seal population the seal population would diminish the seal population would grow dramatically the seal population would stay the same the seal population would decrease slightly
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
question
Computers and Technology, 25.06.2019 08:10
What is the requirement for self-contained recovery devices
Answers: 1
question
Computers and Technology, 25.06.2019 16:30
Unit 3 computer programming study guide refer to code.org for puzzles refer to brainpop; under functions, computer programming, variables part one: define. algorithm- a list of steps to finish a task binary- a way to represent information using 1 and 0 bug- part of a program that does not work correctly code- 1 or more commands to be carried out by a computer function debug sequencing loop repeat conditionals variable part two: answer accordingly. a programmer is to a computer as a teacher is to: a good algorithm must be: imagine writing a program that instructs a bird how to take off, fly and land. what function is likely to be looped? which of the following is most similar to a function? what do variables and functions have in common? 8. the main cause of bugs in coding is: 9. list the following in order from the simplest to most complex: function program step 10. if a program has gone through many iterations, what must be true? 11. what is a benefit of drying up code? a. it makes it less likely to break b. it makes the code compatible with different software c. it saves programmers time d. it makes it less vulnerable to hackers 12. a statement in a function can be most closely compared to: a. a step in a recipe b. a line of a poem c. a brushstroke in a painting d. a piece of assembled furniture t/f: are the solutions provided true? t/f: t/f: t/f:
Answers: 1
You know the right answer?
For this question you should write code using the tools you learned so far. the code will find all t...
Questions
Questions on the website: 13722363