raphaelletseng / Hacktoberfest

Share your favorite code snippets! Hacktoberfest 2019! πŸ’»

Home Page:https://github.com/sukhdeepg/Hacktoberfest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Source Love Hacktoberfest 2019

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

About

Share your favorite code snippets! Hacktoberfest 2019! πŸ’»

https://github.com/sukhdeepg/Hacktoberfest


Languages

Language:Python 61.4%Language:Java 20.0%Language:C++ 7.9%Language:C 5.0%Language:JavaScript 3.0%Language:Assembly 1.5%Language:Go 0.9%Language:PHP 0.2%