duganjr1 duganjr1
  • 25-05-2020
  • Computers and Technology
contestada

I need the code for Assignment 5 Animation in Edhesive, its in python code.

Respuesta :

Rehemam Rehemam
  • 10-09-2020

Answer:116596

Explanation:

Answer Link
TaterTad
TaterTad TaterTad
  • 04-11-2020

Answer:

n = int(input("How many numbers do you need to check? "))

odd = 0

even = 0

for i in range(1, n+1):

num = int(input("Enter number: "))

if (num % 2 == 0):

 print(str(num)+ " is an even number.")

 even = even + 1

else:

 print(str(num)+ " is an odd number.")

 odd = odd + 1

print("You entered " + str(even)+ " even number(s).")

print("You entered "+ str(odd)+ " odd number(s).")

Explanation:

Answer Link

Otras preguntas

recovery methods from a database failure​
why is washington so surprised that the uprising came from pennsylvanian farmers
5. Explain why each of the following goals is difficult to achieve in a cen- trally planned economy: (a) economic freedom, (b) economic growth.
Help help help ! *10 points*
what is 5x minus 5 factored​
5. Explain why each of the following goals is difficult to achieve in a cen- trally planned economy: (a) economic freedom, (b) economic growth.
in the following triangle, what is the length of the hypotenuse, please answer quickly please
As part of a statistical investigation why do statisticians gather a sample from the population?
The point where the graphs of two equations intersect has y-coordinate 2. One equation is y = -3x + 5. Find the other equation if I s graph has a slope of 1.
Fill in the missing number to make the sentence true ?/6 < 1/2