Skip to content

saadcs2026-cs/Python-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Learning 🐍

Programs written while learning Python basics.

for-loop

  • Countdown – counts down from a number to 0
  • Sum of 5 numbers – takes 5 inputs and prints their sum
  • Print triangle – prints a star triangle of n rows
  • Table of number – prints multiplication table
  • Numbers 1-50 – prints numbers from 1 to 50
  • Divisible by 3 not 6 – filters numbers by condition

while-loop

  • Guess secret number – keeps asking until you guess right
  • Find even & odd – checks if a number is even or odd
  • Find larger number – compares two numbers

if-else

  • Find larger number – uses if-else to compare

Basics

  • Hello, World – first Python program

About

"A collection of Python programs written while learning the basics — covering conditionals, loops, functions, and more. Updated regularly as I progress."

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages