1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
meriva
3 years ago
13

Write a program to check whether the number is odd or even using 'if' statement in python

Computers and Technology
1 answer:
zhenek [66]3 years ago
5 0

Answer:

Python Program to Check if a Number is Odd or Even :

<em>num = int(input("Enter a number: ")) </em>

<em>if (num % 2) == 0: </em>

<em>print("{0} is Even number". format(num)) </em>

<em>else: </em>

<em>print("{0} is Odd number". format(num))</em>

You might be interested in
Need help asap please​
Fofino [41]
Because you can make it to where they cannot find or see or look or talk or anything on your profile it can cut off Comunication from the person. It can also protect your safety!
6 0
3 years ago
What changes has Sue made so far? Check all that apply.
Alexus [3.1K]

Answer:

Its C, E, and F

Explanation:

On edg

8 0
3 years ago
Read 2 more answers
Flowchart to reverse digits of an integer
makkiz [27]
The flowchart to reverse digits of an integer may be explained like this: <span>If its a decimal number you could use modulus function to return the first lowest digit in the integer like 45%10 would give you a 5. By doing that you will have the number reversed. Lets see an example of that
 Flow: (Lets take for example 123)
 num = 123
loop
print num%10 (prints 3)
num = num/10 (num now is 12 - integer division removes remainder)
 end loop
 result : 321</span>
4 0
3 years ago
Alcohol increases your ability to see at night. A. True B. False
Agata [3.3K]
False, alcohol does nothing to enhance your vision
8 0
4 years ago
Read 2 more answers
What does Digital Citizenship mean to you?
Nikolay [14]
A digital citizen refers to a person who has the knowledge and skills to effectively use digital technologies to communicate with others, participate in society and create and consume digital content. Digital citizenship is about confident and positive engagement with digital technologies. Digital citizenship refers to responsible technology usage, and teaching digital citizenship is essential to helping students achieve and understand digital literacy, as well as ensuring cyberbullying prevention, online safety, digital responsibility, and digital health and wellness.
5 0
3 years ago
Other questions:
  • What is the Explicit Dependencies Principle? Explain why explicit dependencies are better than implicit dependencies.
    6·1 answer
  • A 10 Superscript negative 910−9​-F capacitor ​(11 nanofaradnanofarad​) is charged to 5050 V and then disconnected. One can model
    5·1 answer
  • If I wanna records a game and my voice need to be in the video what app I download.
    7·2 answers
  • URGENT!!Motors and gears play an important role in the motion of robots. Discuss the different types of motors used in robotics.
    9·1 answer
  • Visual basis,C, C++ and Java are all examples of computer programming ________.
    15·1 answer
  • PLS HELP For this activity, you can use the audio recorder on your cell phone or a digital camera to record the following sounds
    14·1 answer
  • Case Study
    15·1 answer
  • Need help with my cs110​
    11·1 answer
  • What is the definition of shape
    14·2 answers
  • What are the advantages of Radio waves over micro waves?​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!