Skip navigation
How to start coding . • Choose a programming language (Python is beginner-friendly) • Install a code…
0:00

How to start coding . • Choose a programming language (Python is beginner-friendly) • Install a code…

How to start coding . • Choose a programming language (Python is beginner-friendly) • Install a code editor (VS Code, PyCharm, etc.) • Day 1-3: Learn variables, data types, and basic I/O • Problem 1: Print “Hello, World!” • Problem 2: Take two numbers as input and print their sum • Day 4-6: Learn conditionals and loops • Problem 1: Check if a number is even or odd • Problem 2: Print numbers from 1 to 10 using a loop • Day 7-9: Learn functions and basic logic • Problem 1: Write a function to find factorial • Problem 2: Check if a number is prime • Day 10-12: Learn lists and strings • Problem 1: Reverse a string • Problem 2: Find the largest number in a list • Day 13-14: Learn basic error handling and dictionaries • Problem 1: Handle divide-by-zero error • Problem 2: Count character frequency in a string • Day 15: Build a mini project using what you’ve learned • Problem 1: Simple calculator • Problem 2: Contact book using dictionary

Comments

Comments from the original post on Instagram

No comments yet