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

Pulsars "blink" because they _____.
what is the factored form of 9X^2+12X+4
Which expression has a constant of proportionality equal to 4
what is buttercup's conflict with the boys her age? in the princess bride
What did the earth continents look like 255 million years sgo?
How can l calculate the no of constraints?
A pond changes into a field through the process of
Which of these took place in the United States during the 1920s? (1 point) Rapid expansion of minority participation in politics Development of a consumer adver
even though Alexandra could talk to her friends during dance class, she couldn't sing the songs. Which best describes her heart rate during this activity? A- Lo
How long do tortoise live for?