Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
musamairshad
/
Python-Practice-Programs
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
20 Commits
20 Commits
1. Write a program to check whether an age is able to voting or not.py
1. Write a program to check whether an age is able to voting or not.py
10. Write a program to swap values of two numbers.py
10. Write a program to swap values of two numbers.py
11. Program.py
11. Program.py
12. Write a program to check whether a no is even or odd.py
12. Write a program to check whether a no is even or odd.py
13. Write a program to check whether a given number is positive,negative or zero.py
13. Write a program to check whether a given number is positive,negative or zero.py
14. Write a program to find the middle number in a group of three numbers.py
14. Write a program to find the middle number in a group of three numbers.py
15. Program to print numbers from 1 to 10 using while loop.py
15. Program to print numbers from 1 to 10 using while loop.py
16. Write a program to print numbers from 1 to n using while loop.py
16. Write a program to print numbers from 1 to n using while loop.py
17. Write a program to print numbers from 10 to 1 using while loop.py
17. Write a program to print numbers from 10 to 1 using while loop.py
18. Write a program to print numbers from n to 1.py
18. Write a program to print numbers from n to 1.py
19. Write a program to find the sum of the numbers from 1 to n using while loop.py
19. Write a program to find the sum of the numbers from 1 to n using while loop.py
2. Write a program to find max between three numbers.py
2. Write a program to find max between three numbers.py
20. Write a program to find sum of squares of a number from 1 to n using while loop.py
20. Write a program to find sum of squares of a number from 1 to n using while loop.py
21. Write a program to find sum of cubes of a number from 1 to n using while loop.py
21. Write a program to find sum of cubes of a number from 1 to n using while loop.py
22. Write a program to print only even numbers between 1 to n using while loop.py
22. Write a program to print only even numbers between 1 to n using while loop.py
23. Write a program to find sum of even numbers from 1 to n using while loop.py
23. Write a program to find sum of even numbers from 1 to n using while loop.py
24. Write a program to find sum of first n even numbers.py
24. Write a program to find sum of first n even numbers.py
25. Write a program to find sum of digits of a given number.py
25. Write a program to find sum of digits of a given number.py
26. Write a program to print first n even numbers using while loop.py
26. Write a program to print first n even numbers using while loop.py
27. Write a program to find sum of squares of digits of a given number.py
27. Write a program to find sum of squares of digits of a given number.py
28. Write a program to find sum of cubes of digits of a given number.py
28. Write a program to find sum of cubes of digits of a given number.py
29. Write a program to check whether a given number is armstrong or not (for 3 digit Number).py
29. Write a program to check whether a given number is armstrong or not (for 3 digit Number).py
3. Write a program to find max between two numbers.py
3. Write a program to find max between two numbers.py
30. Write a program to find product of digits of a given number.py
30. Write a program to find product of digits of a given number.py
31. Write a program to find sum of even digits and product of odd digits of a given number.py
31. Write a program to find sum of even digits and product of odd digits of a given number.py
32. Write a program to find reverse of a given number.py
32. Write a program to find reverse of a given number.py
33. Write a program to check whether a given number is palindrome number or not.py
33. Write a program to check whether a given number is palindrome number or not.py
34. Write a program that prints the table of the given number.py
34. Write a program that prints the table of the given number.py
35. Write a program to check whether the string is palindrome string or not.py
35. Write a program to check whether the string is palindrome string or not.py
36. Write a program to check whether a given number is prime or not.py
36. Write a program to check whether a given number is prime or not.py
37. Write a program to print factorial of a given number.py
37. Write a program to print factorial of a given number.py
38. Write a program to print fibonacci series upto a given number.py
38. Write a program to print fibonacci series upto a given number.py
39. Write a program to print right angle triangle star pattern using while loop.py
39. Write a program to print right angle triangle star pattern using while loop.py
4. Write a program to find min between 3 numbers.py
4. Write a program to find min between 3 numbers.py
40. Write a program to print reverse right angle triangle star pattern using while loop.py
40. Write a program to print reverse right angle triangle star pattern using while loop.py
41. Write a program to print left angle triangle star pattern using while loop.py
41. Write a program to print left angle triangle star pattern using while loop.py
42. Write a program to print reverse left angle triangle star pattern using while loop.py
42. Write a program to print reverse left angle triangle star pattern using while loop.py
43. Write a program to print Pyramid shape star pattern using while loop.py
43. Write a program to print Pyramid shape star pattern using while loop.py
44. Write a program to print reverse Pyramid shape star pattern using while loop.py
44. Write a program to print reverse Pyramid shape star pattern using while loop.py
45. Write a program to print table of a given number using for loop.py
45. Write a program to print table of a given number using for loop.py
46. Write a program to find reverse of a string.py
46. Write a program to find reverse of a string.py
47. Write a program that counts total vowels and consonants in a string.py
47. Write a program that counts total vowels and consonants in a string.py
48. Write a program to find the frequency of an element in a list.py
48. Write a program to find the frequency of an element in a list.py
49. Program to find position of element in a list using Linear Search Algorithm.py
49. Program to find position of element in a list using Linear Search Algorithm.py
5. Write a program to find min between two numbers.py
5. Write a program to find min between two numbers.py
50. Program to find position of element in a sorted(ascending) list using Binary Search Algorithm.py
50. Program to find position of element in a sorted(ascending) list using Binary Search Algorithm.py
51. Write a program to insert a value in a sorted(ascending) list.py
51. Write a program to insert a value in a sorted(ascending) list.py
52. Write a program for deletion of a value from a sorted(ascending) list.py
52. Write a program for deletion of a value from a sorted(ascending) list.py
53. Write a program that remove's duplicate items from a list.py
53. Write a program that remove's duplicate items from a list.py
54. Write a program that count's the no of even and odd numbers from a list.py
54. Write a program that count's the no of even and odd numbers from a list.py
55. Write a program to find sum of elements of the list.py
55. Write a program to find sum of elements of the list.py
56. Write a program to count the frequency of a number in a list.py
56. Write a program to count the frequency of a number in a list.py
57. Write a program to find minimum and maximum number from a list.py
57. Write a program to find minimum and maximum number from a list.py
58. Write a program to reverse a list iteself.py
58. Write a program to reverse a list iteself.py
59. Write a program to find max and min number from a list using in built function.py
59. Write a program to find max and min number from a list using in built function.py
6. Write a program which calculates basics operations between two numbers.py
6. Write a program which calculates basics operations between two numbers.py
60. Write a program to find Second Max, Second Min value in a list.py
60. Write a program to find Second Max, Second Min value in a list.py
61. Write a program to shift all the elements of a list to one step Left or Right.py
61. Write a program to shift all the elements of a list to one step Left or Right.py
62. Program to insert element in a list at a given position without using built-in function.py
62. Program to insert element in a list at a given position without using built-in function.py
63. Write a program to delete a given number from the list without using built-in function.py
63. Write a program to delete a given number from the list without using built-in function.py
64. Write a program to shift list elements 'N' steps Left or Right.py
64. Write a program to shift list elements 'N' steps Left or Right.py
65. Write a program to find the sum of numbers from 1 to N using Recursion.py
65. Write a program to find the sum of numbers from 1 to N using Recursion.py
66. Write a program that prints the string in reverse order using recursion.py
66. Write a program that prints the string in reverse order using recursion.py
67. Write a program to find x to the power y using recursion.py
67. Write a program to find x to the power y using recursion.py
68. Write a program that prints the factorial of a number using recursion.py
68. Write a program that prints the factorial of a number using recursion.py
69. Write a program that finds the GCD of two numbers using recursion.py
69. Write a program that finds the GCD of two numbers using recursion.py
7. Calculation program.py
7. Calculation program.py
70. Write a program that prints the Fibonacci Series using recursion.py
70. Write a program that prints the Fibonacci Series using recursion.py
8. Program.py
8. Program.py
9. Program to calculate percentage and grades of 5 subject marks .py
9. Program to calculate percentage and grades of 5 subject marks .py
Different printing patterns using for loop in python.py
Different printing patterns using for loop in python.py
Different printing patterns using while loop in python.py
Different printing patterns using while loop in python.py
LICENCE.MD
LICENCE.MD
Left Angle Triangle Patterns.py
Left Angle Triangle Patterns.py
Pyramid Triangle Patterns.py
Pyramid Triangle Patterns.py
README.md
README.md
Right Angle Triangle Patterns.py
Right Angle Triangle Patterns.py
View all files
Repository files navigation
README
MIT license
More
items
Python Practice Programs for logic building👨💻💻💪
About
Python Practice Programs for logic building👨💻💻💪
Topics
competitive-programming
logic-building
problem-solving
python
python-practice-programs
Resources
Readme
MIT license
Activity
Stars
2
stars
Watchers
1
watching
Forks
2
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.