---
title: "Discussion on \"Python Puzzle #1 (codewars - 8kyu)\" | Hashnode"
description: "Discussion on \"Python Puzzle #1 (codewars - 8kyu)\". name:\neven or odd\ndescription:\nCreate a function that takes an integer as an argument and returns \"Even\" for even numbers or \"Odd\" for odd numbers.\nmy solution:\ndef even_or_odd(number):\nif number % 2 == 0:\nreturn \"Even\"\nelse:\nreturn \"Odd\"\nexplication..."
url: "https://hashnode.com/posts/python-puzzle-1-codewars-8kyu/655db0f8c3fb764bd5c5bc42"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python Puzzle #1 (codewars - 8kyu)](https://cybermetaltech.hashnode.dev/python-puzzle-1-codewars-8kyu?utm_source=hashnode&utm_medium=feed)

name: even or odd description: Create a function that takes an integer as an argument and returns "Even" for even numbers or "Odd" for odd numbers. my solution: def even\_or\_odd(number): if number % 2 == 0: return "Even" else: return "Odd" explication...

Nov 22, 2023 · 1 min read · cybermetaltech.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#codewars](https://hashnode.com/tag/codewars)
-   [#puzzle](https://hashnode.com/tag/puzzle)

## Written by

[cybermetaltech](https://hashnode.com/@cybermetaltech)

@cybermetaltech

  
[View profile](https://hashnode.com/@cybermetaltech)

I'm a python programmer, security enthusiast and free sotware advocate

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
