Basic level python code to do basic things that will help you build your basics
File Name | Description |
---|---|
[AdditonOfDigitsOfAGivenNumber.py] (https://github.com/lakshya125/py_beginners/blob/main/AdditonOfDigitsOfAGivenNumber.py) | Addition of given digits till a number |
[Anagrams.py] (https://github.com/lakshya125/py_beginners/blob/main/Anagrams.py) | Find anagrams within a given array |
[Anagrams.py] (https://github.com/lakshya125/py_beginners/blob/main/Anagrams.py) | Find anagrams within a given array |
binary_to_decimal.py | provides an equivalent decimal output for a given binary number |
celsius_to_fahrenheit.py | converts given Celsius temperature to Fahrenheit unit |
compound_int_cal.py | find compound interest for principal amount |
count_occurences_of_items_in_array.py | counts the frequency of items in the array |
decimal_to_binary.py | provides an equivalent binary output for a given decimal number |
[Dijkstra’s_shortest_path_algorithm.py] (https://github.com/lakshya125/py_beginners/blob/main/Dijkstra%E2%80%99s_shortest_path_algorithm.py) | Solution for Djikstra's shortest path algorithm |
discount_calc.py | provides price after discount output for a given number |
encrypt_decrypt.py | encrypts / decrypts given input string based on user preference |
factorial.py | calculate the factorial of a given number |
fahrenheit_to_celsius.py | converts given Fahrenheit temperature to Celsius unit |
fibonacci_series.py | prints Fibonacci series for given n terms |
greatest_of_3_nos.py | gives greatest of 3 given numbers |
hashing.py | Hashing is discussed here |
Hello_World.py | output hello world |
palindrome_no_chk.py | check if a given number is a palindrome number or not |
palindrome_string_chk.py | check if a given string is a palindrome string or not |
paper_rock_scissors.py | rock-paper-scissor game explained |
pants_pyramid_patter.py | output a pants pyramid pattern |
prime.py | determines if given number is a prime number |
queue.py | simple queue data structure with CRUD |
rainbow_hex.py | Prints the hexadecimal code for the colors of the rainbow |
reverse_integer.py | reverse given integer number from user input |
reverse_string.py | reverse given string number from user input |
sparse_number.py | determine whether a given number is sparse number |
string_permutations.py | different permutations of a string given by user is printed |
timer_prog.py | create a timer to wait for x second before doing some actions |
txt _calculator.py | textual input based calculator (operations: add/subtract/multiply/divide) |
bmkg_earthquake_alert.py | API consumer for earthquake information |
word_game.py | A word game |
river_swimmer_problem.py | A simple program to calculate swimmer's time to swim towards and against river stream |
simple_quiz.py | A simple quiz |
Quicksort.py | Quicksort algorithm implementation |
insertion_sort.py | Insertion sort algorithm using python |
- All code is in python.
- No project should have a library.
- Just upload your .py extension file and start a PR.
- Add a comment to your
.py
file stating it's purpose. - Give your file a meaningful name related to your file.
- Create issues for ideas you do not know how to solve.