Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added name ASP and surprise! #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Please add your name.
Yugesh Kothari
Tanvi Nerkar
Atharv -- AthaSSiN;
14 changes: 9 additions & 5 deletions project1.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
def fib(number_for_fibonacci):
def fac(n):
# Add code here
return #Fibonacci number
res = 1
for i in range(n+1):
res *= i
print(res)



def is_prime(number_to_check):
Expand All @@ -13,9 +17,9 @@ def reverse_string(string_to_be_reversed):
return string_to_be_reversed[::-1]
# return reversed_string

#Take input for fib in variable a
#Take input for fac in variable a

print(fib(a))
print(fac(a))


#Take input for is_prime in variable b
Expand All @@ -25,4 +29,4 @@ def reverse_string(string_to_be_reversed):

#Take input for reverse in variable c

print(reversed_string(c))
print(reverse_string(c))