I'm archiving this repository because pull request made over here won't be counted in Hacktoberfest anymore. Sorry for inconvenience and happy contributing.
Collection of code snippets that can be anything from hello world to Complex Algo & DS (In any programming language).
Begin your program with a comment of why this is your favorite code snippet.
Code should be readable and properly indented.
Example:
# This is my favorite code snippet because it has ties to the Golden Ratio.
def Fibonacci(n):
if n<0:
print("Incorrect input")
elif n==1:
return 0
elif n==2:
return 1
else:
return Fibonacci(n-1)+Fibonacci(n-2)
print(Fibonacci(100))
Clone the forked repository from your account
Add your Code Snippet to the respective language folder.
Commit your changes with an appropriate message.