var inputs = document.getElementsByClassName('sqdOP L3NKy y3zKF'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
DEVENKAN
my personal blog page
Tuesday, June 15, 2021
Thursday, November 5, 2020
Simple python program
import random
def add(list1):
c=0
for x in list1:
c+=x
return c
def mean(c):
result=c/9
return result
def median(list1,n):
##odd
if (n+1)%2==0:
x=int((n+1)/2)
val=list1[x-1]
return val
##even
else:
d=int((n+1)/2)
return((list1[d]+list1[d-1])/2)
def calculate():
list1=[]
n=int(input("enter the number of integers"))
for x in range(1,(n+1)):
list1.append(random.randint(12,30))
#printing random list1
print(list1)
#summing of list1
print(add(list1))
##printing mean of list1
c=add(list1)
print(mean(c))
print(list1)
# printing median
print(median(list1,n))
calculate()
Tuesday, September 22, 2020
LEARN
neural network from scratch
https://www.youtube.com/watch?v=b_w4eEiogaE
Sunday, August 30, 2020
UR COMPANY
UR COMPANY DEFINES U
SO CHOOSE THE BETTER ONES
THERE IS PROVERB
THE 5 BEST FRIENDS OF YOU DEFINE YOU
Wednesday, August 26, 2020
A simple way to become programmer
- Don't overwhelm with resources don't prepare yourself on collecting resources choose the right ones preferred by programmers or choose the manual or help guide.
- study the right version.
- Study one topic at time choose one subject area either data mining, web developer etc.
- take patience it takes time to become what you wish.
- Do online quizzes , test your skill
- build good git-hub & linked-in profile
- have some knowledge of git and bash
- do online challenge , compete
- focus don't engage on social media, you tube Facebook
- practice & practice
- create app which impact your life on daily basis
- take review from people, creators , developers
- do testing
- create app which impact peoples life
- take review from people, creators , developers
- do testing
- do maintenance
Friday, August 21, 2020
urrlib
impor urllib
>>> url="https://www.facebook.com"
>>>
>>> with open('Desktop/deven.txt','w') as f:
... with urllib.request.urlopen(url) as resp:
... f.write(resp.read().decode('utf-8')
Friday, August 14, 2020
Thursday, August 13, 2020
LIFE
nothing happens after you die
it is complete void ...
means your meaning of life ends within this life
although karma is thoughtful process
to acheive moksha
you can be no one to anyone at anytime
liberation from the wordly pleasures is crucial to interrupt soul from taking millions of rebirths
but there are things to consider about what the things we do
it is our dharma to acheive good marks as we are student
we should remember our main focus should be study
but the complications may surrender according to environment in which our mind is induced.
This means we can't have friends. we can have friends chat with them make them companion for life.
we should do right things morally whatever the consequences occur
i am you and you i am .
we are coexisting and live as infinite possibilites and representation of each another
we can't simply judge other
we should respect other
Monday, July 27, 2020
feelings
Sunday, July 26, 2020
python code to create audio file from pdf
from tkinter.filedialog import askopenfilename
import pdftotext
from gtts import gTTS
Tk().withdraw() # we don't want a full GUI, so keep the root window from appearing
filelocation = askopenfilename() # open the dialog GUI
with open(filelocation, "rb") as f: # open the file in reading (rb) mode and call it f
pdf = pdftotext.PDF(f) # store a text version of the pdf file f in pdf variable
string_of_text = ''
for text in pdf:
string_of_text += text
final_file = gTTS(text=string_of_text, lang='en') # store file in variable
-
#these program uses -stream_loop option import os #loop four times os.system("ffmpeg -stream_loop 4 -i output.avi -c copy outputqsa....
-
DATASCIENCE pip install -U pip pip install nmap pip install matplotlib pip install scipy pip install scikit-learn pip install pandas ...
-
import random def add(list1): c=0 for x in list1: c+=x return c def mean(c): result=c/9 return result def median(list1,n)...