/Hacktoberfest

Share your favorite code snippets! Hacktoberfest 2019! 💻

Primary LanguagePython

Open Source Love Hacktoberfest 2019 GitHub Forks GitHub Stars GitHub Contributors

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 👍

Fork this repository

Clone the forked repository from your account

Add your Code Snippet to the respective language folder.

Commit your changes with an appropriate message.

Create a pull request