Jaynerandolph1640 Jaynerandolph1640
  • 23-12-2021
  • Computers and Technology
contestada

Write a program to test if an integer input from the keyboard is odd or even. Sample Run 1: Enter a Number: 78 Even Sample Run 2: Enter a Number: 17 Odd

Respuesta :

6385726215
6385726215 6385726215
  • 24-12-2021

Answer:

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

if number % 2 == 0:

   print("Even")

else:

   print("Odd")

Explanation:

Currently taking python at school. On the last few lessons.

Answer Link

Otras preguntas

when comparing proofreading of a hard copy, the on-screen proofreading is ?
I need to know how to change my Username? Can you please give me more information on how/who to contact to do this? Thank you in advance....
Find the first, fourth, and tenth terms of the arithmetic sequence described by the given rule.
Question is 15 points
Which of the following statements about DNA is FALSE? DNA stores and transmits genetic information DNA folds up into chromosomes prior to cell division chromoso
Who is South America's President
64% of the animals at an animal shelter are dogs. About what fraction of the animals at the shelter are dogs?
Hi! I am new to this, so if someone can help me out, that would be great! I have to have this done by tonight.Read the following paragraph from "Forbidden Fruit
Please help last question
please help fast ill give brainliest