---
title: "WAQAS HUSSAIN (@glitch-wh) | Hashnode"
description: "Student At UET Peshawar. Read the latest articles by WAQAS HUSSAIN on Hashnode."
url: "https://hashnode.com/@glitch-wh"
---

@glitch-wh

# WAQAS HUSSAIN

@glitch-wh · Pakistan, UAE · Joined May 2026

Student At UET Peshawar

### [Why Do We Need Functions?](https://glitch-wh.hashnode.dev/why-do-we-need-functions?utm_source=hashnode&utm_medium=feed)

Learn why Python needs functions and what happens under the hood: code objects, function objects, frames, and return values, explained simply.

3 min read · [glitch-wh.hashnode.dev](https://glitch-wh.hashnode.dev/why-do-we-need-functions?utm_source=hashnode&utm_medium=feed)

[Oct 14](https://hashnode.com/posts/why-do-we-need-functions/6acf92d62721731ecc3b2acd)

### [C: Mixing Loops and Conditionals in Python](https://glitch-wh.hashnode.dev/c-mixing-loops-and-conditionals-in-python?utm_source=hashnode&utm_medium=feed)

Learn how to combine loops and conditionals in Python: filtering, counting, continue, break, and loop else, with clear examples.

2 min read · [glitch-wh.hashnode.dev](https://glitch-wh.hashnode.dev/c-mixing-loops-and-conditionals-in-python?utm_source=hashnode&utm_medium=feed)

[Oct 13](https://hashnode.com/posts/c-mixing-loops-and-conditionals-in-python/6acddbcda9af20d11cfe8181)

### [B: What are Nested Loops in Python?](https://glitch-wh.hashnode.dev/b-what-are-nested-loops-in-python?utm_source=hashnode&utm_medium=feed)

Learn how nested loops work in Python: execution order, total iterations, patterns, break and continue behavior, and how to exit both loops.

3 min read · [glitch-wh.hashnode.dev](https://glitch-wh.hashnode.dev/b-what-are-nested-loops-in-python?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/b-what-are-nested-loops-in-python/6acc890ea4222ec7e2d4beb6)

### [A: What are Nested Conditionals in Python?](https://glitch-wh.hashnode.dev/a-what-are-nested-conditionals-in-python?utm_source=hashnode&utm_medium=feed)

Learn how nested if statements work in Python: indentation, evaluation order, else pairing, and how to flatten deeply nested conditions.

2 min read · [glitch-wh.hashnode.dev](https://glitch-wh.hashnode.dev/a-what-are-nested-conditionals-in-python?utm_source=hashnode&utm_medium=feed)

[Oct 12](https://hashnode.com/posts/a-what-are-nested-conditionals-in-python/6acc81ed85521e2ce1a60ca1)

### [What are loops in python?](https://glitch-wh.hashnode.dev/what-are-loops-in-python?utm_source=hashnode&utm_medium=feed)

Learn what loops are in Python: for and while loops, range(), break, continue, loop else, and nested loops, explained simply with examples.

4 min read · [glitch-wh.hashnode.dev](https://glitch-wh.hashnode.dev/what-are-loops-in-python?utm_source=hashnode&utm_medium=feed)

[Oct 8](https://hashnode.com/posts/what-are-loops-in-python/6ac7f07ab837f15f10bbd0bc)
