Oddly Even writeup

Oddly Even writeup

Challenge name: Oddly Even

Difficulty: Very Easy

Category: Coding

Challenge Scenario: The ghostly clock ticks strangely. Determine whether its chimes are even or odd to calm the restless spirits.

Link: https://app.hackthebox.com/challenges/Oddly%2520Even?tab=play_challenge

Machine IP: 154.57.164.66:31146

Navigated to the site.

Looks like a very simple coding challenge. This was my code.

# take in the number
n = int(input())
# calculate answer
if (n%2==0):
answer = 'even'
else:
answer = 'odd'
# print answer
print(answer)

For a second I thought I was dumb and looked at the writeup. You just have to scroll down for the flag when the code is correct.

GG

Leave a comment