Skip to content

smailyk83/whether

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

whether one

def check_even_odd(number): if number % 2 == 0: return "Число чётное" else: return "Число нечётное"

Getting a number from the user

try: user_input = int(input("Введите число: ")) result = check_even_odd(user_input) print(result) except ValueError: print("Пожалуйста, введите целое число.")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published