Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 25 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,63 @@
# Algorithms-HacktoberFest

Write Algorithm in any language and contribute to HacktoberFest

# Table of Algorithms
# Table of Algorithms

`B` - Beginner, `A` - Advanced
## JavaScript
* `B` [Factorial](javascript/factorial.js)

## JavaScript

- `B` [Factorial](javascript/factorial.js)

---

-----------------
## C++
* `B` [Factorial](C++/factorial.js)

-----------------
----------------
- `B` [Factorial](C++/factorial.js)

## python

- `B` [Factorial](python/factorial.py)

---

---

### Get yourself free goodies by just writing an algorithm in your language of choice
Write a pre existing algo in any language of your choice!

Write a pre existing algo in any language of your choice!

# What is Hacktoberfest?

Hacktoberfest is a program by Digital Ocean and Github, where you can easily win a T-Shirt just by making 5 pull requests in the month of October to any open source projects on Github.

## Steps to follow :scroll:

### 1. Register for Hacktoberfest

You can register from [here](https://hacktoberfest.digitalocean.com).

### 2. Fork it :fork_and_knife:

You can get your own fork/copy of [Hello-world](https://github.com/piyush97/Algorithms-HacktoberFest) by using the <kbd><b>Fork</b></kbd></a> button or clicking [this](https://github.com/piyush97/Hacktoberfest/).

[![Fork Button](https://help.github.com/assets/images/help/repository/fork_button.jpg)](https://github.com/piyush97/Algorithms-HacktoberFest)
[![Fork Button](https://help.github.com/assets/images/help/repository/fork_button.jpg)](https://github.com/piyush97/Algorithms-HacktoberFest)

### 3. Add a Program in any Language you like :rabbit2:
Once you have forked the repo, add your progam in the language folder in

Once you have forked the repo, add your progam in the language folder in
main branch, if there is no language folder, make one, then add into it.
You can take a look to the [Programming Language List](https://en.wikipedia.org/wiki/List_of_programming_languages) in Wikipedia to create a new one Hacktoberfest !

### 4. Ready, Steady, Go... :turtle: :rabbit2:

Once you have completed these steps, you are ready to start contributing
Once you have completed these steps, you are ready to start contributing
by checking our `Help Wanted` issues and creating [pull requests](https://github.com/piyush97/Algorithms-HacktoberFest/pulls).

### 5. Give this Project a Star :star:

If you liked working on this project, please share this project as much
If you liked working on this project, please share this project as much
as you can and star this project to help as many people in opensource as you can.


:tada: :confetti_ball: :smiley: _**Happy Contributing**_ :smiley: :confetti_ball: :tada:
:tada: :confetti*ball: :smiley: ***Happy Contributing**\_ :smiley: :confetti_ball: :tada:
11 changes: 11 additions & 0 deletions python/factorial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

#factoral function

n=int(input("Enter number"))
fact =1

for i in range(1, n+1):
fact = fact * i

print("The factorial of 23 is : ", end="")
print(fact)