Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
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 }}
Anon7438
Python_Codes
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Python_Codes
Public
Notifications
You must be signed in to change notification settings
Fork
0
(
0
)
Star
1
(
1
)
You must be signed in to star a repository
About
TOP 100 PYTHON CODES
Topics
hackerrank
python
top100
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
main
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
4 Commits
4 Commits
Folders and files
Name
Name
Last commit message
Last commit date
0dd_Even.py
0dd_Even.py
2d_3d_vector.py
2d_3d_vector.py
ASCII value of a character.py
ASCII value of a character.py
Abundant number.py
Abundant number.py
Addition of two fractions.py
Addition of two fractions.py
Animals.py
Animals.py
Anon.txt
Anon.txt
Are_of_circle.py
Are_of_circle.py
Armstrong number.py
Armstrong number.py
Armstrong_no_in a range.py
Armstrong_no_in a range.py
Automorphic number.py
Automorphic number.py
Binary to Decimal to conversion.py
Binary to Decimal to conversion.py
Binary to Octal conversion.py
Binary to Octal conversion.py
Block swap algorithm for array rotation.py
Block swap algorithm for array rotation.py
Calculate frequency of characters in a string .py
Calculate frequency of characters in a string .py
Calculate the number of digits in an integer.py
Calculate the number of digits in an integer.py
Can a number be expressed as a sum of two prime numbers.py
Can a number be expressed as a sum of two prime numbers.py
Capitalize the first and last character of each word of a string .py
Capitalize the first and last character of each word of a string .py
Check if the given string is Palindrome or not .py
Check if the given string is Palindrome or not .py
Check if two strings are Anagram or not .py
Check if two strings are Anagram or not .py
Check whether a character is a alphabet or not.py
Check whether a character is a alphabet or not.py
Check whether a character is a vowel or consonant.py
Check whether a character is a vowel or consonant.py
Count common sub-sequence in two strings.py
Count common sub-sequence in two strings.py
Count the number of vowels.py
Count the number of vowels.py
Count the sum of numbers in a string.py
Count the sum of numbers in a string.py
Counting number of days in a given month of a year.py
Counting number of days in a given month of a year.py
Counting the number of even and odd elements in an array.py
Counting the number of even and odd elements in an array.py
Decimal to Binary conversion.py
Decimal to Binary conversion.py
Decimal to octal Conversion.py
Decimal to octal Conversion.py
Dictionary_datatype.py
Dictionary_datatype.py
Distinct Elements in an Array .py
Distinct Elements in an Array .py
Even or Odd number.py
Even or Odd number.py
Fabnoci_upto_n.py
Fabnoci_upto_n.py
Factor of a number.py
Factor of a number.py
Factorial of a number.py
Factorial of a number.py
Find non-repeating characters in a string.py
Find non-repeating characters in a string.py
Finding Minimum scalar product of two vectors.py
Finding Minimum scalar product of two vectors.py
Finding Number of times x digit occurs in a given input.py
Finding Number of times x digit occurs in a given input.py
Finding Roots of a quadratic equation.py
Finding Roots of a quadratic equation.py
Finding number of integers which has exactly x divisors.py
Finding number of integers which has exactly x divisors.py
Friendly pair.py
Friendly pair.py
Greatest Common Divisor.py
Greatest Common Divisor.py
Greatest of the Three numbers.py
Greatest of the Three numbers.py
Greatest of two numbers.py
Greatest of two numbers.py
HCF.py
HCF.py
Harshad number.py
Harshad number.py
LCM.py
LCM.py
Leap year or not.py
Leap year or not.py
Length of the string without using strlen() function.py
Length of the string without using strlen() function.py
Longest Palindrome in an Array.py
Longest Palindrome in an Array.py
Maximum number of handshakes.py
Maximum number of handshakes.py
Maximum scalar product of two vectors in an array.py
Maximum scalar product of two vectors in an array.py
Multi_level_inheritence.py
Multi_level_inheritence.py
No_Argument_Function.py
No_Argument_Function.py
Non-repeating elements.py
Non-repeating elements.py
Number_datatype.py
Number_datatype.py
Octal to Binary conversion.py
Octal to Binary conversion.py
Octal to Decimal conversion.py
Octal to Decimal conversion.py
Palindrome or not.py
Palindrome or not.py
Perfect number.py
Perfect number.py
Permutations in which n people can occupy r seats in a classroom.py
Permutations in which n people can occupy r seats in a classroom.py
Positive or Negative number.py
Positive or Negative number.py
Power of a number .py
Power of a number .py
Prime number within a given range.py
Prime number within a given range.py
Print the given string in reverse order.py
Print the given string in reverse order.py
Quadrants in which a given coordinate lies.py
Quadrants in which a given coordinate lies.py
README.md
README.md
Reanme_fie.py
Reanme_fie.py
Recursion.py
Recursion.py
Remove brackets from an algebraic expression.py
Remove brackets from an algebraic expression.py
Remove spaces from a string.py
Remove spaces from a string.py
Remove the vowels from a String.py
Remove the vowels from a String.py
Removing Duplicate elements from an array.py
Removing Duplicate elements from an array.py
Renamed_python_file.txt
Renamed_python_file.txt
Replace 0 with 1.py
Replace 0 with 1.py
Replace a sub-string in a string.py
Replace a sub-string in a string.py
Reverse an Array.py
Reverse an Array.py
Reverse of a number.py
Reverse of a number.py
Score.txt
Score.txt
Second Smallest Element.py
Second Smallest Element.py
Smallest and Largest Element.py
Smallest and Largest Element.py
Smallest_Element in an Array.py
Smallest_Element in an Array.py
Sort first half in ascending order and second half in descending.py
Sort first half in ascending order and second half in descending.py
Sort the elements of an array.py
Sort the elements of an array.py
Strong number.py
Strong number.py
Sum of First N Natural numbers.py
Sum of First N Natural numbers.py
Sum of digits of a number.py
Sum of digits of a number.py
Sum of numbers in a given range.py
Sum of numbers in a given range.py
Sum_OF_NAtural_No_using_recursion.py
Sum_OF_NAtural_No_using_recursion.py
Toggle each character in a string.py
Toggle each character in a string.py
__init__in_oops.py
__init__in_oops.py
array_Functions_.py
array_Functions_.py
basic_operations.py
basic_operations.py
boolean_Datatype.py
boolean_Datatype.py
calculator.py
calculator.py
cel_to_farenhiet.py
cel_to_farenhiet.py
character_input.py
character_input.py
class_method.py
class_method.py
compare_files_content.py
compare_files_content.py
copy_files_content.py
copy_files_content.py
View all files
Repository files navigation
README
More
items
Pythone_Codes
python Top 100 codes to practice
python basics
fundamental
logic building
About
TOP 100 PYTHON CODES
Topics
hackerrank
python
top100
Resources
Readme
Activity
Stars
1
star
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.