Founding Batch Offer · HLD · LLD · System Design at ₹799 until 30 Nov

ProgramsLogic building

Phase 1 - Level 4: Logical Operators & Compound Statements

Master logical operators and compound conditional statements.

10 programs · open one, then the next

Start with Check Letter, Digit, or Neither
  1. 01Check Letter, Digit, or NeitherIntermediateClassify entered text as letters, digits, or neither with Python. Students compare string tests and discover why a character prompt does not enforce length.Open example →
  2. 02FizzBuzz ProblemIntermediateSolve single-number FizzBuzz using ordered Python conditions. Beginners trace shared multiples, individual rules, and why the combined case must come first.Open example →
  3. 03Find Median ValueIntermediateFind the median of three values without sorting a list. A Python exercise on two possible orderings, compound conditions, and handling equal middle values.Open example →
  4. 04AM or PM CheckIntermediateDetermine AM or PM from a twenty-four-hour time in Python. Students inspect the noon boundary and notice that the entered minutes do not affect this label.Open example →
  5. 05Tax Eligibility CheckIntermediatePractice a two-condition income and age check in Python. Students trace strict thresholds and understand why this classroom rule is not real tax guidance.Open example →
  6. 06Positive Numbers Sum CheckIntermediateCheck that two numbers are positive and their sum is below one hundred. A Python exercise on three linked tests, strict boundaries, and failed conditions.Open example →
  7. 07Print Digit WordIntermediateConvert one digit to its English word with a Python list. Beginners practice zero-based indexing and validate a number before using it as a list position.Open example →
  8. 08Weekday or WeekendIntermediateSeparate weekdays from weekends using a numbered week in Python. Students combine a chained range check, an or condition, and a final invalid-value branch.Open example →
  9. 09Electricity Bill CalculationIntermediateCalculate a bill with increasing unit-price slabs in Python. Students trace cumulative charges, subtract already billed units, and test exact slab boundaries.Open example →
  10. 10Basic Password ValidationIntermediateValidate a practice password with length and digit rules in Python. Students use len, any, and independent feedback checks without confusing this with security.Open example →