Manish Majhi's Corner
Welcome to my awesome indie website hosted for free on Neocities!
- Durable 4G Phones
- A hand-picked list of 4G phones with IP68 / IP69 ratings curated for Nepal's reality.
Grade 9 - Python
- Hello World
- Printing Hello World to the console in Python.
- User Input
- Getting input from the user and processing it.
- Data Types
- Understanding different data types in Python.
- Variables
- Storing values in labelled boxes and naming them properly.
- Operators
- Arithmetic, relational, logical and assignment operators, and the operands they work on.
- Expressions
- Turning maths formulas into code that produces a value.
- If Statement
- Making the program decide with if, elif, else and nested ifs.
- For Loop
- Repeating code with range, and steering it with break and continue.
- While Loop
- Looping while a condition holds, and avoiding infinite loops.
- List
- Storing many values in one variable and looping over them.
- Dictionary
- Storing data as key:value pairs and looking values up by key.
- Exercise
- The practical questions from the book, each with a short answer.
Grade 10 - Python
- Revision
- A quick recap of everything Grade 9 taught, from print to lists.
- Exercise 1
- The revision questions from the book, each with a short answer.
- Functions
- Writing your own reusable blocks with def, and where their variables live.
- Parameters
- Positional, default and keyword arguments, and how they differ from parameters.
- Return Values
- Void and non-void functions, and handing back more than one value.
- Exercise 2
- The function questions from the book, each with a short answer.
- Libraries
- Modules, libraries and packages, and the four ways to import them.
- Popular Libraries
- Math, Random, Pandas and Matplotlib with a taste of each.
- Turtle
- Drawing shapes on screen by telling a cursor where to walk.
- Error Handling
- Syntax, runtime and logical errors, and catching them with try-except.
- Exercise 3
- The library and error handling questions, each with a short answer.
- Sample Programs
- The book's sample programs, plus a few more worth trying.