Skip to content

20harshita/Hacktoberfest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 💻

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.9%
  • Java 20.4%
  • C++ 13.1%
  • JavaScript 6.1%
  • C 4.3%
  • Assembly 1.3%
  • Other 0.9%