Skip to content

Commit 34c8348

Browse files
authored
Merge branch 'Mrinank-Bhowmick:main' into local
2 parents 07c0fe5 + 98e7011 commit 34c8348

27 files changed

Lines changed: 7936 additions & 199 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,5 @@ dmypy.json
152152
# Cython debug symbols
153153
cython_debug/
154154

155-
*.db
155+
*.db
156+
.idea/

README.md

Lines changed: 36 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,13 +1670,6 @@
16701670
<sub><b>Ayushi Rastogi</b></sub>
16711671
</a>
16721672
</td>
1673-
<td align="center">
1674-
<a href="https://github.com/bhanushri123">
1675-
<img src="https://avatars.githubusercontent.com/u/110604493?v=4" width="100;" alt="bhanushri123"/>
1676-
<br />
1677-
<sub><b>Bhanushri Chinta</b></sub>
1678-
</a>
1679-
</td>
16801673
<td align="center">
16811674
<a href="https://github.com/Carl283583">
16821675
<img src="https://avatars.githubusercontent.com/u/153916649?v=4" width="100;" alt="Carl283583"/>
@@ -1697,15 +1690,15 @@
16971690
<br />
16981691
<sub><b>David-hosting</b></sub>
16991692
</a>
1700-
</td></tr>
1701-
<tr>
1693+
</td>
17021694
<td align="center">
17031695
<a href="https://github.com/Dhandeep10">
17041696
<img src="https://avatars.githubusercontent.com/u/106858770?v=4" width="100;" alt="Dhandeep10"/>
17051697
<br />
17061698
<sub><b>Dhandeep</b></sub>
17071699
</a>
1708-
</td>
1700+
</td></tr>
1701+
<tr>
17091702
<td align="center">
17101703
<a href="https://github.com/Dhruvil-Lakhtaria">
17111704
<img src="https://avatars.githubusercontent.com/u/77167073?v=4" width="100;" alt="Dhruvil-Lakhtaria"/>
@@ -1740,15 +1733,15 @@
17401733
<br />
17411734
<sub><b>HarsH</b></sub>
17421735
</a>
1743-
</td></tr>
1744-
<tr>
1736+
</td>
17451737
<td align="center">
17461738
<a href="https://github.com/HimanshuSinghNegi">
17471739
<img src="https://avatars.githubusercontent.com/u/72004239?v=4" width="100;" alt="HimanshuSinghNegi"/>
17481740
<br />
17491741
<sub><b>Himanshu Singh Negi</b></sub>
17501742
</a>
1751-
</td>
1743+
</td></tr>
1744+
<tr>
17521745
<td align="center">
17531746
<a href="https://github.com/JenilGajjar20">
17541747
<img src="https://avatars.githubusercontent.com/u/68738624?v=4" width="100;" alt="JenilGajjar20"/>
@@ -1783,15 +1776,15 @@
17831776
<br />
17841777
<sub><b>Krishna13515</b></sub>
17851778
</a>
1786-
</td></tr>
1787-
<tr>
1779+
</td>
17881780
<td align="center">
17891781
<a href="https://github.com/iamkunalpitale">
17901782
<img src="https://avatars.githubusercontent.com/u/26413565?v=4" width="100;" alt="iamkunalpitale"/>
17911783
<br />
17921784
<sub><b>Kunal Pitale</b></sub>
17931785
</a>
1794-
</td>
1786+
</td></tr>
1787+
<tr>
17951788
<td align="center">
17961789
<a href="https://github.com/Manishak798">
17971790
<img src="https://avatars.githubusercontent.com/u/90680330?v=4" width="100;" alt="Manishak798"/>
@@ -1826,15 +1819,15 @@
18261819
<br />
18271820
<sub><b>Nischay Goyal</b></sub>
18281821
</a>
1829-
</td></tr>
1830-
<tr>
1822+
</td>
18311823
<td align="center">
18321824
<a href="https://github.com/NooBIE-Nilay">
18331825
<img src="https://avatars.githubusercontent.com/u/66667272?v=4" width="100;" alt="NooBIE-Nilay"/>
18341826
<br />
18351827
<sub><b>Nilay Banerjee </b></sub>
18361828
</a>
1837-
</td>
1829+
</td></tr>
1830+
<tr>
18381831
<td align="center">
18391832
<a href="https://github.com/KushalPareek">
18401833
<img src="https://avatars.githubusercontent.com/u/105929422?v=4" width="100;" alt="KushalPareek"/>
@@ -1869,15 +1862,15 @@
18691862
<br />
18701863
<sub><b>Faris Faikar</b></sub>
18711864
</a>
1872-
</td></tr>
1873-
<tr>
1865+
</td>
18741866
<td align="center">
18751867
<a href="https://github.com/Raashika0201">
18761868
<img src="https://avatars.githubusercontent.com/u/110974003?v=4" width="100;" alt="Raashika0201"/>
18771869
<br />
18781870
<sub><b>Raashika0201</b></sub>
18791871
</a>
1880-
</td>
1872+
</td></tr>
1873+
<tr>
18811874
<td align="center">
18821875
<a href="https://github.com/Ramisky">
18831876
<img src="https://avatars.githubusercontent.com/u/19819186?v=4" width="100;" alt="Ramisky"/>
@@ -1912,22 +1905,15 @@
19121905
<br />
19131906
<sub><b>Sai Uttej R</b></sub>
19141907
</a>
1915-
</td></tr>
1916-
<tr>
1908+
</td>
19171909
<td align="center">
19181910
<a href="https://github.com/samayita1606">
19191911
<img src="https://avatars.githubusercontent.com/u/64488010?v=4" width="100;" alt="samayita1606"/>
19201912
<br />
19211913
<sub><b>Samayita Kali</b></sub>
19221914
</a>
1923-
</td>
1924-
<td align="center">
1925-
<a href="https://github.com/Sergey18273">
1926-
<img src="https://avatars.githubusercontent.com/u/153006768?v=4" width="100;" alt="Sergey18273"/>
1927-
<br />
1928-
<sub><b>Sergey18273</b></sub>
1929-
</a>
1930-
</td>
1915+
</td></tr>
1916+
<tr>
19311917
<td align="center">
19321918
<a href="https://github.com/CapedDemon">
19331919
<img src="https://avatars.githubusercontent.com/u/93109967?v=4" width="100;" alt="CapedDemon"/>
@@ -1955,8 +1941,7 @@
19551941
<br />
19561942
<sub><b>Suliman Sagindykov</b></sub>
19571943
</a>
1958-
</td></tr>
1959-
<tr>
1944+
</td>
19601945
<td align="center">
19611946
<a href="https://github.com/sumitbaroniya">
19621947
<img src="https://avatars.githubusercontent.com/u/75536160?v=4" width="100;" alt="sumitbaroniya"/>
@@ -1970,7 +1955,8 @@
19701955
<br />
19711956
<sub><b>Swapnadeep Mohapatra</b></sub>
19721957
</a>
1973-
</td>
1958+
</td></tr>
1959+
<tr>
19741960
<td align="center">
19751961
<a href="https://github.com/ImaginedTime">
19761962
<img src="https://avatars.githubusercontent.com/u/68231861?v=4" width="100;" alt="ImaginedTime"/>
@@ -1998,8 +1984,7 @@
19981984
<br />
19991985
<sub><b>Vivek Kumar Gupta</b></sub>
20001986
</a>
2001-
</td></tr>
2002-
<tr>
1987+
</td>
20031988
<td align="center">
20041989
<a href="https://github.com/YashTariyal">
20051990
<img src="https://avatars.githubusercontent.com/u/77398467?v=4" width="100;" alt="YashTariyal"/>
@@ -2013,7 +1998,8 @@
20131998
<br />
20141999
<sub><b>Ylavish64</b></sub>
20152000
</a>
2016-
</td>
2001+
</td></tr>
2002+
<tr>
20172003
<td align="center">
20182004
<a href="https://github.com/yogesh78026">
20192005
<img src="https://avatars.githubusercontent.com/u/77293859?v=4" width="100;" alt="yogesh78026"/>
@@ -2041,8 +2027,7 @@
20412027
<br />
20422028
<sub><b>Prajwal Benedict A</b></sub>
20432029
</a>
2044-
</td></tr>
2045-
<tr>
2030+
</td>
20462031
<td align="center">
20472032
<a href="https://github.com/chimerson">
20482033
<img src="https://avatars.githubusercontent.com/u/110922266?v=4" width="100;" alt="chimerson"/>
@@ -2056,7 +2041,8 @@
20562041
<br />
20572042
<sub><b>D-coder111</b></sub>
20582043
</a>
2059-
</td>
2044+
</td></tr>
2045+
<tr>
20602046
<td align="center">
20612047
<a href="https://github.com/dab07">
20622048
<img src="https://avatars.githubusercontent.com/u/78215681?v=4" width="100;" alt="dab07"/>
@@ -2084,8 +2070,7 @@
20842070
<br />
20852071
<sub><b>Dhruv Jagdish</b></sub>
20862072
</a>
2087-
</td></tr>
2088-
<tr>
2073+
</td>
20892074
<td align="center">
20902075
<a href="https://github.com/jonascarvalh">
20912076
<img src="https://avatars.githubusercontent.com/u/79672134?v=4" width="100;" alt="jonascarvalh"/>
@@ -2099,7 +2084,8 @@
20992084
<br />
21002085
<sub><b>Kodingkin</b></sub>
21012086
</a>
2102-
</td>
2087+
</td></tr>
2088+
<tr>
21032089
<td align="center">
21042090
<a href="https://github.com/mangnez">
21052091
<img src="https://avatars.githubusercontent.com/u/110713609?v=4" width="100;" alt="mangnez"/>
@@ -2127,8 +2113,7 @@
21272113
<br />
21282114
<sub><b>Muchamad Yuda Tri Ananda</b></sub>
21292115
</a>
2130-
</td></tr>
2131-
<tr>
2116+
</td>
21322117
<td align="center">
21332118
<a href="https://github.com/NebulaAnish">
21342119
<img src="https://avatars.githubusercontent.com/u/50112251?v=4" width="100;" alt="NebulaAnish"/>
@@ -2142,7 +2127,8 @@
21422127
<br />
21432128
<sub><b>Parthiban Marimuthu</b></sub>
21442129
</a>
2145-
</td>
2130+
</td></tr>
2131+
<tr>
21462132
<td align="center">
21472133
<a href="https://github.com/cypherab01">
21482134
<img src="https://avatars.githubusercontent.com/u/149231513?v=4" width="100;" alt="cypherab01"/>
@@ -2170,8 +2156,7 @@
21702156
<br />
21712157
<sub><b>Samual Martin</b></sub>
21722158
</a>
2173-
</td></tr>
2174-
<tr>
2159+
</td>
21752160
<td align="center">
21762161
<a href="https://github.com/rathoreshreya">
21772162
<img src="https://avatars.githubusercontent.com/u/109817678?v=4" width="100;" alt="rathoreshreya"/>
@@ -2185,7 +2170,8 @@
21852170
<br />
21862171
<sub><b>Tanawat Jirawttanakul</b></sub>
21872172
</a>
2188-
</td>
2173+
</td></tr>
2174+
<tr>
21892175
<td align="center">
21902176
<a href="https://github.com/LionLostInCode">
21912177
<img src="https://avatars.githubusercontent.com/u/133058949?v=4" width="100;" alt="LionLostInCode"/>

projects/Amazon Product Availbility Checker/amazon.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def check_amazon_availability(product_url):
66
headers = {
7-
"User-Agent": "Your User Agent Here" # You can set a user agent string here
7+
"User-Agent": "Your User Agent Here" # Replace with a valid user agent string
88
}
99

1010
try:
@@ -23,8 +23,10 @@ def check_amazon_availability(product_url):
2323
else:
2424
print(f"{title} is available on Amazon.")
2525

26-
except requests.exceptions.RequestException as e:
27-
print("Error:", e)
26+
except requests.exceptions.HTTPError as http_err:
27+
print(f"HTTP error occurred: {http_err}")
28+
except requests.exceptions.RequestException as req_err:
29+
print(f"Request error occurred: {req_err}")
2830

2931

3032
if __name__ == "__main__":

projects/Calculator/main.py

Lines changed: 8 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""imports the os and time modules from the Python Standard Library.
2-
The os module provides a way of using operating system dependent functionality,
2+
The os module provides a way of using operating system dependent functionality,
33
like reading or writing to the file system.
4-
The time module provides various time-related functions, like getting the current
4+
The time module provides various time-related functions, like getting the current
55
time or pausing the execution of the script."""
66

77
import os
@@ -135,81 +135,39 @@ def binomail(num):
135135
print("Enter '-1' to exit.\n")
136136

137137
c = input("Your choice is: ")
138-
139138
if c == "1":
140139
res = addition()
141-
os.system("cls")
142-
print(f"The answer is {res}")
143-
time.sleep(2)
144-
os.system("cls")
145-
146140
elif c == "2":
147141
res = subtraction()
148-
os.system("cls")
149-
print(f"The answer is {res}")
150-
time.sleep(2)
151-
os.system("cls")
152-
153142
elif c == "3":
154143
res = multiplication()
155-
os.system("cls")
156-
print(f"The answer is {res}")
157-
time.sleep(2)
158-
os.system("cls")
159-
160144
elif c == "4":
161145
res = division()
162-
os.system("cls")
163146
if res == "Invalid entry":
164147
continue
165-
print(f"The answer is {res}")
166-
time.sleep(2)
167-
os.system("cls")
168-
169148
elif c == "5":
170149
res = average()
171-
os.system("cls")
172-
print(f"The answer is {res}")
173-
time.sleep(2)
174-
os.system("cls")
175-
176150
elif c == "6":
177151
num = int(input("enter the number: "))
178152
if num < 0:
179153
print("Invalid entry")
180154
continue
181155
res = factorial(num)
182-
os.system("cls")
183-
print(f"The answer is {res}")
184-
time.sleep(2)
185-
os.system("cls")
186-
187156
elif c == "7":
188-
os.system("cls")
189-
print(complexarithmetic())
190-
time.sleep(2)
191-
os.system("cls")
192-
157+
os.system("cls||clear")
158+
res = complexarithmetic()
193159
elif c == "8":
194-
os.system("cls")
195160
num = list(map(int, input("Enter the number seperated by space").split()))
196161
if num[0] < num[1]:
197162
print("Invalid entry")
198163
continue
199164
res = binomail(num)
200-
os.system("cls")
201-
print(f"The answer is {res}")
202-
time.sleep(2)
203-
os.system("cls")
204-
205165
elif c == "-1":
206-
os.system("cls")
207166
print("Thank you for using the calculator!")
208-
time.sleep(2)
209167
break
210-
211168
else:
212-
os.system("cls")
213169
print("Sorry, invalid option!")
214-
time.sleep(2)
215-
os.system("cls")
170+
os.system("cls||clear")
171+
print(f"The answer is {res}")
172+
time.sleep(2)
173+
os.system("cls||clear")

0 commit comments

Comments
 (0)