Skip to content

xzebcex/Number-Parity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Number Parity

Overview

With the help of this program, a user may enter a number and find out if it's even or odd. A number is requested from the user, transformed to an integer, and then tested with an if statement. A message noting that the number is even is written if it is. A notice explaining that the number is odd is printed if it is odd.

How to Use

  1. Download the.py file or clone this repository.
  2. Launch a text editor or Python environment and open the file.
  3. Execute the code to see the number entry box.
  4. Type a number to see whether it is even or odd.

Requirements

• Python3

Conclusion

This is a straightforward application that shows how to utilise user input, type conversion, and conditional expressions in Python.

Releases

No releases published

Packages

No packages published

Languages