Hacktoberfest
Hacktoberfest copied to clipboard
Share your favorite code snippets! Hacktoberfest 2019! 💻
I'm archiving this repository. The repository won't be valid for Hacktoberfest 2020. Happy contributing!
Your Favorite Code Snippet
Collection of code snippets that can be anything from hello world to Complex Algo & DS (In any programming language).
How to contribute
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))
Create your first pull request :+1:
Clone the forked repository from your account
Add your Code Snippet to the respective language folder.
Commit your changes with an appropriate message.