{"id":21018530,"url":"https://github.com/sandyg6/100-days-python-challenge","last_synced_at":"2025-07-05T04:07:02.310Z","repository":{"id":238427164,"uuid":"767642156","full_name":"sandyg6/100-Days-Python-challenge","owner":"sandyg6","description":"Started with my 100 days of coding challenge with Python Programming language.","archived":false,"fork":false,"pushed_at":"2024-06-13T17:12:37.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T12:33:27.459Z","etag":null,"topics":["coding","coding-challenge","programming","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sandyg6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T16:51:53.000Z","updated_at":"2024-06-13T17:13:56.000Z","dependencies_parsed_at":"2024-06-13T21:20:10.217Z","dependency_job_id":"9e705b23-01a7-40f8-bada-734f50cfbae6","html_url":"https://github.com/sandyg6/100-Days-Python-challenge","commit_stats":null,"previous_names":["sandyg6/100-days-python-coding","sandyg6/100-days-python-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyg6%2F100-Days-Python-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyg6%2F100-Days-Python-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyg6%2F100-Days-Python-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandyg6%2F100-Days-Python-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandyg6","download_url":"https://codeload.github.com/sandyg6/100-Days-Python-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447638,"owners_count":20292453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coding","coding-challenge","programming","python","python3"],"created_at":"2024-11-19T10:26:28.359Z","updated_at":"2025-03-13T17:20:33.462Z","avatar_url":"https://github.com/sandyg6.png","language":"Python","readme":"# 100-Days-Python-coding\nStarted with my 100 days of coding challenge with Python Programming language.\n\nPrograms\n1. Write a program to identify if the character is a vowel or consonant. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day01.py)\n2. Write a program to identify if the character is an alphabet or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day02.py)\n3. Write a program to find ASCII values of a character. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day03.py)\n4. Write a program to find Number of digits in an integer. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day04.py)\n5. Write a program to find Factorial of a number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day05.py)\n6. Write a program to find Fibonacci series up to n. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day06.py) \n7. Write a program to identify of the a number is positive or negative. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day07.py)\n8. Write a program to identify if the number is even or odd. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day08.py)\n9. Write a program to find Area of a circle. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day09.py)\n10. Write a program to find Area of a rectangle. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day10.py)\n11. Write a program to find Area of a Triangle. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day11.py)\n12. Write a program to find Sum of digits of a number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day12.py)\n13. Write a program to find Sum of N natural numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day13.py)\n14. Write a program to find Sum of numbers in a given range. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day14.py)\n15. Write a program to reverse a given number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day15.py)\n16. Write a program to find LCM of two numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day16.py)\n17. Write a program to identify if the number is Strong number or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day17.py)\n18. Write a program to identify if the number is Perfect number or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day18.py)\n19. Write a program to find Power of a number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day19.py)\n20. Write a program to find the Factors of a number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day20.py)\n21. Write a program to Add two fractions. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day21.py)\n22. Write a program to find GCD of two numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day22.py)\n23. Write a program to identify if the number is Armstrong number or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day23.py)\n24. Write a program to find Greatest of two numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day24.py)\n25. Write a program to find Greatest of three numbers.[(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day25.py)\n26. Write a program to identify if the year is Leap year or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day26.py)\n27. Write a program to identify if the number is Prime number or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day27.py)\n28. Write a program to identify if the number is Palindrome or not. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day28.py)\n29. Write a program to print prime numbers in a given range. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day29.py)\n30. Write a program to print Armstrong numbers between two intervals. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day30.py)\n31. Write a program to express a number as a sum of two prime numbers? [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day31.py)\n32. Write a program to Replace all 0’s with 1 in a given integer. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day32.py)\n33. Write a program to print Pyramid pattern using stars. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day33.py)\n34. Write a program to print Pyramid pattern using numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day34.py)\n35. Write a program to print Palindromic pyramid pattern printing. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day35.py)\n36. Write a program to calculate Maximum number of handshakes. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day36.py)\n37. Write a program to find the Quadrants in which coordinates lie. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day37.py)\n38. Write a program to Convert digit/number to words. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day38.py)\n39. Write a program to find Number of days in a given month of a given year. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day39.py)\n40. Write a program to find Permutations in which n people can occupy r seats in a classroom. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day40.py)\n41. Write a program for Binary to decimal conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day41.py)\n42. Write a program for Decimal to binary conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day42.py)\n43. Write a program for Binary to octal conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day43.py)\n44. Write a program for Octal to binary conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day44.py)\n45. Write a program for Decimal to octal conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day45.py)\n46. Write a program for Octal to decimal conversion. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day46.py)\n47. Write a program to find number of times digit 3 occurs in each and every number from 0 to n. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day47.py)\n48. Write a program to find number of integers which has exactly 9 divisors. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day48.py)\n49. Write a program to find roots of a quadratic equation.[(code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day49.py).\n50. Write a program to print Solid and hollow rectangle star pattern [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day50.py)\n51. Write a program to print Diamond pattern printing using stars. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day51.py)\n52. Write a program to print Diamond pattern printing using numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day52.py)\n53. Write a program to print Floyd’s triangle. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day53.py)\n54. Write a program to print Pascal triangle. [(code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day54.py)\n55. Write a program to check Least Significant Bit (LSB) of a number is set or not. [(code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day55.py)\n56. Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5, between 2000 and 3200 (both included). The numbers obtained should be printed in a comma-separated sequence on a single line. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day56.py)\n57. Write a program which can compute the factorial of a given numbers. The results should be printed in a comma-separated sequence on a single line. Suppose the following input is supplied to the program: 8 Then, the output should be: 40320 [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day57.py)\n58. With a given integral number n, write a program to generate a dictionary that contains (i, i*i) such that is an integral number between 1 and n (both included). and then the program should print the dictionary. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day58.py)\n59. Write a program which accepts a sequence of comma-separated numbers from console and generate a list and a tuple which contains every number. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day59.py)\n60. Define a class which has at least two methods: getString: to get a string from console input printString: to print the string in upper case. Also please include simple test function to test the class methods. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day60.py)\n61. Write a program that calculates and prints the value according to the given formula: Q = Square root of [(2 * C * D)/H] Following are the fixed values of C and H: C is 50. H is 30. D is the variable whose values should be input to your program in a comma-separated sequence. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day61.py)\n62.  Write a program which takes 2 digits, X,Y as input and generates a 2-dimensional array. The element value in the i-th row and j-th column of the array should be i*j. Note: i=0,1.., X-1; j=0,1,¡­Y-1. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day62.py)\n63.  Write a program that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically. Suppose the following input is supplied to the program: without,hello,bag,world Then, the output should be: bag,hello,without,world. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day63.py)\n64. Write a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalized. Suppose the following input is supplied to the program: Hello world Practice makes perfect Then, the output should be: HELLO WORLD PRACTICE MAKES PERFECT . [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day64.py)\n65. Write a program that accepts a sequence of whitespace separated words as input and prints the words after removing all duplicate words and sorting them alphanumerically. Suppose the following input is supplied to the program: hello world and practice makes perfect and hello world again Then, the output should be: again and hello makes perfect practice world . [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day65.py)\n66. Write a program which accepts a sequence of comma separated 4 digit binary numbers as its input and then check whether they are divisible by 5 or not. The numbers that are divisible by 5 are to be printed in a comma separated sequence.[(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day66.py)\n67. Write a program, which will find all such numbers between 1000 and 3000 (both included) such that each digit of the number is an even number. The numbers obtained should be printed in a comma-separated sequence on a single line. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day67.py)\n68. Write a program that accepts a sentence and calculate the number of letters and digits. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day68.py)\n69.  Write a program that accepts a sentence and calculate the number of upper case letters and lower case letters. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day69.py)\n70.  Write a program that computes the value of a+aa+aaa+aaaa with a given digit as the value of a. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day70.py)\n71.  Write a python program to interchange first and last elements in a list. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day71.py)\n72.  Use a list comprehension to square each odd number in a list. The list is input by a sequence of comma-separated numbers. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day72.py)\n73.  Write a program that computes the net amount of a bank account based a transaction log from console input. The transaction log format is shown as following: D 100 W 200. D means deposit while W means withdrawal. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day73.py)\n74.  write a program to sort the (name, age, height) tuples by ascending order where name is string, age and height are numbers. The tuples are input by console. The sort criteria is: 1: Sort based on name; 2: Then sort based on age; 3: Then sort by score. The priority is that name \u003e age \u003e score. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day74.py)\n75.  Write a program to compute the frequency of the words from the input. The output should output after sorting the key alphanumerically. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day75.py)\n76.  Define a function which can print a dictionary where the keys are numbers between 1 and 20 (both included) and the values are square of keys. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day76.py)\n77.  Define a class named Circle which can be constructed by a radius. The Circle class has a method which can compute the area. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day77.py)\n78.  Define a class named Rectangle which can be constructed by a length and width. The Rectangle class has a method which can compute the area. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day78.py)\n79.  Define a class named Shape and its subclass Square. The Square class has an init function which takes a length as argument. Both classes have a area function which can print the area of the shape where Shape's area is 0 by default. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day79.py)\n80.  Write a function to compute 5/0 and use try/except to catch the exceptions. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day80.py)\n81.  Define a custom exception class which takes a string message as attribute. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day81.py)\n82.  Write a program using list comprehension to print the Fibonacci Sequence in comma separated form. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day82.py)\n83.  Write a binary search function which searches an item in a sorted list. The function should return the index of element to be searched in the list. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day83.py)\n84.  Generate a random float where the value is between 10 and 100 using Python math module. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day84.py)\n85.  Write a program to output a random even number between 0 and 10 inclusive using random module and list comprehension. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day85.py)\n86.  Write a program to shuffle and print the list. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day86.py)\n87.  Write a program to generate all sentences where subject is in [\"I\", \"You\"] and verb is in [\"Play\", \"Love\"] and the object is in [\"Hockey\",\"Football\"]. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day87.py)\n88.  Write a program to print the list after removing delete even numbers in the list.[(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day88.py)\n89.  Write a program to print the list after removing delete numbers which are divisible by 5 and 7. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day89.py)\n90.  Write a program to print this list after removing all duplicate values with original order reserved. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day90.py)\n91.  Write a program generate a 358 3D array whose each element is 0. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day91.py)\n92.  Write a program to print the list after removing the value 24 in [12,24,35,24,88,120,155]. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day92.py)\n93.  With two given lists, write a program to make a list whose elements are intersection of the above given lists. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day93.py)\n94.  Write a program to print this list after removing all duplicate values with original order reserved. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day94.py)\n95.  Define a class Person and its two child classes: Male and Female. All classes have a method \"getGender\" which can print \"Male\" for Male class and \"Female\" for Female class. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day95.py)\n96.  Write a program which count and print the numbers of each character in a string input. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day96.py)\n97.  Write a program which accepts a string from console and print it in reverse order. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day97.py)\n98.  write a program which accepts a string from console and print the characters that have even indexes. [(code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day98.py)\n99.  Write a program which accepts a string from console and print the characters that have even indexes. [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day99.py)\n100.  Write a program to solve a classic ancient Chinese puzzle: We count 35 heads and 94 legs among the chickens and rabbits in a farm. How many rabbits and how many chickens do we have? [(Code)](https://github.com/sandyg6/100-Days-Python-coding/blob/main/Day100.py)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyg6%2F100-days-python-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandyg6%2F100-days-python-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandyg6%2F100-days-python-challenge/lists"}