# Phyton Complete Mastery

**URL:** <https://forum.codewithmosh.com/t/phyton-complete-mastery/72283>\
**Category:** Python\
**Created:** [February 18, 2026, 5:33pm UTC](https://forum.codewithmosh.com/t/phyton-complete-mastery/72283 "2026-02-18T17:33:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sherwin](https://avatars.discourse-cdn.com/v4/letter/s/7ea924/32.png) [@Sherwin](https://forum.codewithmosh.com/u/Sherwin)\
**Post date:** [February 18, 2026, 5:33pm UTC](https://forum.codewithmosh.com/t/phyton-complete-mastery/72283/1 "2026-02-18T17:33:47Z")

</div>

In the exercise of control flow, I’ve got the output but I have different code hahaha 🙂 just sharing.

count = 1

for number in range(1, 10):

if number % 2 == 0:

print(number)

count = number // 2

print(f"We have {count} even numbers")
