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

SITUATION. My teacher gave me a situation and please answer honestly. Let say you weigh between 118-120 pounds. Your parents noticed you have gained weight and
A ball falls, rebounds to 72% of its previous height and falls again. After two bounces, the ball reached a height of 25cm. From what height was the ball droppe
Which one of the following terms is most closely associated with interjections? A. Action B. Emotion C. Qualification D. Description
Which refers to an injury to a joint?a. osteoporosisb. bursitisc. scoliosisd. carpal tunnel syndrome
(a-6b)(a+6b) pls answer
(a-6b)(a+6b) pls answer
a stone is dropped from the top of 50 m high tower simultaneously another stone is thrown upward with a speed of 20 m/s . calculate the time at which both the s
How to add and subtract fractions
how to plot m>0 on a number line
(a-6b)(a+6b) pls answer