Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

Add your favorite code snippet #3

Open
sukhdeepg opened this issue Oct 1, 2019 · 2 comments
Open

Add your favorite code snippet #3

sukhdeepg opened this issue Oct 1, 2019 · 2 comments
Labels
easy good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@sukhdeepg
Copy link
Owner

Add your favorite code snippet to the repository.

Use any language of your choice to add the code. For 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))

Put the code in the respective language folder. Refer README.md for help.

@sukhdeepg sukhdeepg added help wanted Extra attention is needed good first issue Good for newcomers easy hacktoberfest labels Oct 1, 2019
@VishalBheda
Copy link
Contributor

added and requested PR for my fav sleepy sleep 😉 😅

@sukhdeepg
Copy link
Owner Author

@VishalBheda Cool 👍

@aashima11 aashima11 mentioned this issue Oct 2, 2019
3daddict added a commit to 3daddict/Hacktoberfest-1 that referenced this issue Oct 3, 2019
sukhdeepg added a commit that referenced this issue Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
easy good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants