-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c788d2
commit 9e829b0
Showing
8 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# program to find out nth fibonacci number using recursion | ||
# made by : rakesh kumar | ||
# last compiled : 20-12-2018 | ||
|
||
|
||
def fibonacci(n): | ||
if(n==1): | ||
return 0 | ||
elif(n==2): | ||
return 1 | ||
else: | ||
return fibonacci(n-1)+fibonacci(n-2) | ||
|
||
if __name__ == "__main__": | ||
for x in range(1,21): | ||
print(fibonacci(x),end=" ") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
def sum1(l): | ||
pass | ||
|
||
|
||
|
||
if __name__ == "__main__": | ||
li = [1,2,4,5,6,7] | ||
print(li) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from turtle import * | ||
from random import randint | ||
bgcolor('black') | ||
x = 1 | ||
speed(0) | ||
while x < 400: | ||
|
||
r = randint(0, 255) | ||
g = randint(0, 255) | ||
b = randint(0, 255) | ||
|
||
colormode(255) | ||
pencolor(r, g, b) | ||
fd(50 + x) | ||
rt(90.991) | ||
x = x+1 | ||
|
||
exitonclick() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import numpy as np | ||
|
||
ar = np.array([1,2,34,5]) | ||
print(ar) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from __future__ import unicode_literals | ||
import youtube_dl | ||
# import urllib | ||
# import shutil | ||
# import shutil | ||
ydl_opts = {} | ||
with youtube_dl.YoutubeDL(ydl_opts) as ydl: | ||
ydl.download( | ||
['https://www.youtube.com/watch?v=3qti7Vof_7Q&list=PLbGui_ZYuhiiaQjuOfvgx_-gzVBlCxrk0&index=1']) | ||
['https://www.youtube.com/watch?v=skG_36Abhos']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters