Post

HackTheBox Oddly Even Writeup

Explore the basics of cybersecurity in the Oddly Even Challenge on Hack The Box. This very-easy-level Challenge introduces encryption reversal and file handling concepts in a clear and accessible way, perfect for beginners.

Task

Oddly Even

Take in a number, print “odd” if odd and “even” if even.

Example

Input

3

Output

odd

Poc

1
2
3
4
5
number = int(input())
if number % 2 == 0:
    print("even")
else:
    print("odd")
This post is licensed under CC BY 4.0 by the author.