![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 17.10.2020 19:01 iisanchez27
Write a program that will ask a user for how many numbers they would like to check. Then, using a for loop, prompt the user for a number, and output if that number is even or odd.
Benchmark:
Prompt the user to answer the question, "How many numbers do you need to check?"
Create and initialize two count variables - one for odd and one for even.
Based on the previous input, create a for loop that will run that exact number of times.
Prompt the user to "Enter number: "
If that number is even, output "[number] is an even number."
Update the even count variable.
Or else if the number is odd, output "[number] is an odd number."
Update the odd count variable.
Output "You entered [number] even number(s)."
Output "You entered [number] odd number(s)."
Please write the code in the Python language.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 05:30
The total revenues for a company are $150,223 and the total expenses were 125,766. if you are calculating the net income, which of these spreadsheets would you use? insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2-b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2+b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2/b3. the formula should be showing in the formula bar. insert a spreadsheet with $150,223 in cell b2 and 125, 766 in cell b3. enter a formula =b2*b3. the formula should be showing in the formula bar.
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:30
What is a costume plot? why is it important to a film or theater production?
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 00:00
When pasting an existing chart into a word document, you can choose to using the paste options button. a. paste the chart as a picture b. embed the chart c. add the chart while keeping the destination formatting intact d. insert the chart while keeping the source formatting intact
Answers: 1
You know the right answer?
Write a program that will ask a user for how many numbers they would like to check. Then, using a fo...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 18.06.2020 20:57
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 18.06.2020 20:57
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 18.06.2020 20:57
![question](/tpl/images/cats/mat.png)
Mathematics, 18.06.2020 20:57
![question](/tpl/images/cats/en.png)
English, 18.06.2020 20:57
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)