Skip to content

Commit f1af308

Browse files
committed
test new
1 parent 42cf6d8 commit f1af308

32 files changed

+135718
-22
lines changed

BasicThings/ATM.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
n = int(input("Enter the amount : "))
2+
if n % 100 != 0:
3+
print("Enter Denominations of 100, 500, 2000 ")
4+
exit()
5+
new = n - 100
6+
two = new // 2000
7+
five = (new % 2000) // 500
8+
hundred = ((new % 2000) % 500) // 100
9+
10+
print("2000 : {} 500 : {} 100 : {}".format(two, five, hundred + 1))

BasicThings/Matrix.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 1. Matrix Creation
2+
# 2. Matrix Validation
3+
# 3. Matrix Arithmetic Operation
4+
# 4. Matrix Rotation transpose, rotation
5+
rows = int(input("Enter the number of rows : "))
6+
col = int(input("Enter the number of col : "))
7+
h = []
8+
for r in range(rows):
9+
temp = []
10+
for c in range(col):
11+
temp.append(int(input("Enter the value at index[{}{}] : ".format(r+1, c+1))))
12+
h.append(temp)
13+
14+
15+
# print('Number Of Rows: {}'.format(len(h)))
16+
# print('Number Of Columns: {}'.format(len(h[0])))
17+
18+
for i in h:
19+
print(*i)

BasicThings/flattenlist.py

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
d = [[1, 2, [10], 2], [2, 4], 4, [1, [1, [0]]]]
2-
li = []
1+
li = [[1, 2, [10], 2], [2, 4], 4, [1, [1, [0]]]]
2+
# l = []
33

44

5-
def flatten(v):
6-
for i in v:
7-
if type(i) == list:
8-
flatten(i)
9-
else:
10-
li.append(i)
11-
12-
13-
flatten(d)
14-
# flatten = []
15-
# while 1:
16-
# for i in li:
17-
# if type(i) is list:
18-
# flatten.extend(i)
5+
# def flatten(v):
6+
# for i in v:
7+
# if type(i) == list:
8+
# flatten(i)
199
# else:
20-
# flatten.append(i)
21-
# li = flatten[:]
22-
# flatten.clear()
23-
# bd = [type(l) is list for l in li]
24-
# if not any(bd):
25-
# break
10+
# li.append(i)
11+
#
12+
#
13+
# flatten(d)
14+
flatten = []
15+
while 1:
16+
for i in li:
17+
if type(i) is list:
18+
flatten.extend(i)
19+
else:
20+
flatten.append(i)
21+
li = flatten[:]
22+
flatten.clear()
23+
bd = [type(l) is list for l in li]
24+
if not any(bd):
25+
break
2626
print(li)
2727

BasicThings/listprob.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
n = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
2+
n = [i for i in n if i % 2 == 0] # List Comprehension
3+
# for i in n:
4+
# if i % 2 == 0:
5+
# f.append(i)
6+
# n = f[:]
7+
print(n)

BasicThings/listques.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# in exam
2+
# remove Duplicates in List
3+
f = eval(input("Enter a List : "))
4+
h = []
5+
for i in f:
6+
if i not in h:
7+
h.append(i)
8+
print(h)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

venv/Lib/site-packages/SpeechRecognition-3.8.1.dist-info/DESCRIPTION.rst

+384
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pip

venv/Lib/site-packages/SpeechRecognition-3.8.1.dist-info/METADATA

+414
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
SpeechRecognition-3.8.1.dist-info/.dropbox.attr,sha256=RBNvo1WzZ4oRRq0W9-hknpT7T8If536DEMBg9hyq_4o,2
2+
SpeechRecognition-3.8.1.dist-info/DESCRIPTION.rst,sha256=dgUENeWcP2qg000__f5AsgUaOvUo36tDgCgdE08RgUc,27601
3+
SpeechRecognition-3.8.1.dist-info/METADATA,sha256=fTmt1OYwwn-WKfT0xN6xgHpzvy7Ae16zv3cy0SC5jJQ,28950
4+
SpeechRecognition-3.8.1.dist-info/RECORD,,
5+
SpeechRecognition-3.8.1.dist-info/WHEEL,sha256=kdsN-5OJAZIiHN-iO4Rhl82KyS0bDWf4uBwMbkNafr8,110
6+
SpeechRecognition-3.8.1.dist-info/metadata.json,sha256=ZhsGANl7tAV37ahWHJFbT9eQ5q9en_LBPKvlLrCzdVg,1432
7+
SpeechRecognition-3.8.1.dist-info/pbr.json,sha256=UcI4xoosuIxZFTgs7I-BtVL1KvMeyuBnND5oMh2wYlw,47
8+
SpeechRecognition-3.8.1.dist-info/top_level.txt,sha256=iJfbFMOCcDL7Mdhysq4LsbniwTv6EtQR8BbgEnKlPIw,19
9+
speech_recognition/__init__.py,sha256=amTLGGvSExvjj7sbONcVdLSxBsMw-TooNmFGInbH2Ro,82784
10+
speech_recognition/__main__.py,sha256=3F7usIfftarHFZn8xEoopKl93MzyCpFAK7ouJhiqOZo,1181
11+
speech_recognition/flac-linux-x86,sha256=FOUk-MAmqO11z7GmT4TyHIJnRZaDXZaBVsh5yfP1k8g,1899154
12+
speech_recognition/flac-linux-x86_64,sha256=0k6-i9XM2vxk9SKmKuL-0_t0ARrf7ts9Peqmu0YR34Q,2396644
13+
speech_recognition/flac-mac,sha256=2LyQYpHz0QJGWm_dnNfJoIOYsDsPI8b-JwZAVns4o6E,451168
14+
speech_recognition/flac-win32.exe,sha256=D8yWtMDceZCrDDnb-8gvrtNmxYiPD0oz9GTqO3m38IU,738816
15+
speech_recognition/pocketsphinx-data/en-US/LICENSE.txt,sha256=_PXE5BroH3BO1w8VERRicu8PDKe5cIjRHXKJa1ahifU,1537
16+
speech_recognition/pocketsphinx-data/en-US/language-model.lm.bin,sha256=Ttj1LtBBMEXw6cZaRwmVOJa2_5qZ68EPfvkm9mLF5QY,29208442
17+
speech_recognition/pocketsphinx-data/en-US/pronounciation-dictionary.dict,sha256=zjv6Nk45C35Ip0g9NQpI2fFhEn9oQoucb5ZygR_BE08,3240807
18+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/README,sha256=i4jemAVoUJxkbQUnuEFL7vE2lkORkDtAmW0y9ze_dS4,1617
19+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/feat.params,sha256=ioWtKGlsfyNDRE52M84w8WX-2HQPghlUVExvvUb0lR8,165
20+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/mdef,sha256=I2D5qGiJwc_ui9YYoCaTh5EeX7KSCllPUGsYuMeWg7A,2959176
21+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/means,sha256=gyAZ4yysEusxiWT5b0aQNKyxLQNI7t3DgxgxoQDLTdQ,838732
22+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/noisedict,sha256=cpWwffLCBMT4fGeCtr4aOFnXAG1OOGQYHJVdbasQWjM,56
23+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/sendump,sha256=jJVkwNW-9pyp2b8QFKvhYvBxZEzwLPH6ikg8PcFlp6g,1969024
24+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/transition_matrices,sha256=wffyjqQxd75zS-H4i9fxuahT0OZg-FmcZ8bq7Ki7U5o,2080
25+
speech_recognition/pocketsphinx-data/en-US/acoustic-model/variances,sha256=sA1pb4XpaDT8EPjl8GQo2MTba__b5YRbb2m_bvvEj6U,838732
26+
SpeechRecognition-3.8.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
27+
speech_recognition/__pycache__/__init__.cpython-37.pyc,,
28+
speech_recognition/__pycache__/__main__.cpython-37.pyc,,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Wheel-Version: 1.0
2+
Generator: bdist_wheel (0.30.0)
3+
Root-Is-Purelib: true
4+
Tag: py2-none-any
5+
Tag: py3-none-any
6+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"classifiers": ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", "Operating System :: Other OS", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Multimedia :: Sound/Audio :: Speech"], "description_content_type": "UNKNOWN", "extensions": {"python.details": {"contacts": [{"email": "[email protected]", "name": "Anthony Zhang (Uberi)", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/Uberi/speech_recognition#readme"}}}, "generator": "bdist_wheel (0.30.0)", "keywords": ["speech", "recognition", "voice", "sphinx", "google", "wit", "bing", "api", "houndify", "ibm", "snowboy"], "license": "BSD", "metadata_version": "2.0", "name": "SpeechRecognition", "summary": "Library for performing speech recognition, with support for several engines and APIs, online and offline.", "version": "3.8.1"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"git_version": "953271f", "is_release": false}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
speech_recognition

0 commit comments

Comments
 (0)