Skip to content

Commit 31b57ce

Browse files
Merge branch 'main' into main
2 parents 46f3ea0 + 7081c3f commit 31b57ce

23 files changed

Lines changed: 6134 additions & 725 deletions

File tree

README.md

Lines changed: 76 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
256256
<sub><b>@Indrayani11-15</b></sub>
257257
</a>
258258
</td>
259+
<td align="center" width="120">
260+
<a href="https://github.com/Ishita-varshney">
261+
<img src="https://github.com/Ishita-varshney.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Ishita-varshney" /><br />
262+
<sub><b>@Ishita-varshney</b></sub>
263+
</a>
264+
</td>
259265
<td align="center" width="120">
260266
<a href="https://github.com/Juhi4433">
261267
<img src="https://github.com/Juhi4433.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Juhi4433" /><br />
@@ -268,14 +274,14 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
268274
<sub><b>@Kartikeyji17</b></sub>
269275
</a>
270276
</td>
277+
</tr>
278+
<tr>
271279
<td align="center" width="120">
272280
<a href="https://github.com/KhushiVadadoriya">
273281
<img src="https://github.com/KhushiVadadoriya.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="KhushiVadadoriya" /><br />
274282
<sub><b>@KhushiVadadoriya</b></sub>
275283
</a>
276284
</td>
277-
</tr>
278-
<tr>
279285
<td align="center" width="120">
280286
<a href="https://github.com/Kunal241207">
281287
<img src="https://github.com/Kunal241207.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Kunal241207" /><br />
@@ -306,14 +312,20 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
306312
<sub><b>@Mounika-39</b></sub>
307313
</a>
308314
</td>
315+
</tr>
316+
<tr>
309317
<td align="center" width="120">
310318
<a href="https://github.com/Naveen-Boddepalli">
311319
<img src="https://github.com/Naveen-Boddepalli.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Naveen-Boddepalli" /><br />
312320
<sub><b>@Naveen-Boddepalli</b></sub>
313321
</a>
314322
</td>
315-
</tr>
316-
<tr>
323+
<td align="center" width="120">
324+
<a href="https://github.com/NidhiS-7">
325+
<img src="https://github.com/NidhiS-7.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="NidhiS-7" /><br />
326+
<sub><b>@NidhiS-7</b></sub>
327+
</a>
328+
</td>
317329
<td align="center" width="120">
318330
<a href="https://github.com/PIYUSH-NEXTGEN">
319331
<img src="https://github.com/PIYUSH-NEXTGEN.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="PIYUSH-NEXTGEN" /><br />
@@ -338,6 +350,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
338350
<sub><b>@PragatiNigam29</b></sub>
339351
</a>
340352
</td>
353+
</tr>
354+
<tr>
341355
<td align="center" width="120">
342356
<a href="https://github.com/Quantum3600">
343357
<img src="https://github.com/Quantum3600.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Quantum3600" /><br />
@@ -350,14 +364,18 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
350364
<sub><b>@Ranjanmaiti6</b></sub>
351365
</a>
352366
</td>
353-
</tr>
354-
<tr>
355367
<td align="center" width="120">
356368
<a href="https://github.com/Sanjhivvarshan-b-s">
357369
<img src="https://github.com/Sanjhivvarshan-b-s.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Sanjhivvarshan-b-s" /><br />
358370
<sub><b>@Sanjhivvarshan-b-s</b></sub>
359371
</a>
360372
</td>
373+
<td align="center" width="120">
374+
<a href="https://github.com/SathvikaTalari">
375+
<img src="https://github.com/SathvikaTalari.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="SathvikaTalari" /><br />
376+
<sub><b>@SathvikaTalari</b></sub>
377+
</a>
378+
</td>
361379
<td align="center" width="120">
362380
<a href="https://github.com/Shivi-Srivastava-4444">
363381
<img src="https://github.com/Shivi-Srivastava-4444.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Shivi-Srivastava-4444" /><br />
@@ -370,6 +388,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
370388
<sub><b>@Sparshjoshi-iit</b></sub>
371389
</a>
372390
</td>
391+
</tr>
392+
<tr>
373393
<td align="center" width="120">
374394
<a href="https://github.com/Sreekuttan-007">
375395
<img src="https://github.com/Sreekuttan-007.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Sreekuttan-007" /><br />
@@ -388,8 +408,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
388408
<sub><b>@Tech4Aditya</b></sub>
389409
</a>
390410
</td>
391-
</tr>
392-
<tr>
393411
<td align="center" width="120">
394412
<a href="https://github.com/TheBinaryAVA">
395413
<img src="https://github.com/TheBinaryAVA.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="TheBinaryAVA" /><br />
@@ -408,6 +426,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
408426
<sub><b>@Vanshikakhasat</b></sub>
409427
</a>
410428
</td>
429+
</tr>
430+
<tr>
411431
<td align="center" width="120">
412432
<a href="https://github.com/Vinanthi07">
413433
<img src="https://github.com/Vinanthi07.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="Vinanthi07" /><br />
@@ -426,8 +446,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
426446
<sub><b>@abhi-nav-25</b></sub>
427447
</a>
428448
</td>
429-
</tr>
430-
<tr>
431449
<td align="center" width="120">
432450
<a href="https://github.com/advikdivekar">
433451
<img src="https://github.com/advikdivekar.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="advikdivekar" /><br />
@@ -446,6 +464,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
446464
<sub><b>@ash-heinz</b></sub>
447465
</a>
448466
</td>
467+
</tr>
468+
<tr>
449469
<td align="center" width="120">
450470
<a href="https://github.com/ayushyadav0707">
451471
<img src="https://github.com/ayushyadav0707.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="ayushyadav0707" /><br />
@@ -464,8 +484,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
464484
<sub><b>@developer-yash03</b></sub>
465485
</a>
466486
</td>
467-
</tr>
468-
<tr>
469487
<td align="center" width="120">
470488
<a href="https://github.com/dhanushrajvr">
471489
<img src="https://github.com/dhanushrajvr.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="dhanushrajvr" /><br />
@@ -484,12 +502,20 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
484502
<sub><b>@iamprasoon2006-cell</b></sub>
485503
</a>
486504
</td>
505+
</tr>
506+
<tr>
487507
<td align="center" width="120">
488508
<a href="https://github.com/itsdakshjain">
489509
<img src="https://github.com/itsdakshjain.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="itsdakshjain" /><br />
490510
<sub><b>@itsdakshjain</b></sub>
491511
</a>
492512
</td>
513+
<td align="center" width="120">
514+
<a href="https://github.com/jeetrouth">
515+
<img src="https://github.com/jeetrouth.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="jeetrouth" /><br />
516+
<sub><b>@jeetrouth</b></sub>
517+
</a>
518+
</td>
493519
<td align="center" width="120">
494520
<a href="https://github.com/jyotish6699">
495521
<img src="https://github.com/jyotish6699.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="jyotish6699" /><br />
@@ -502,8 +528,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
502528
<sub><b>@kumudasrip</b></sub>
503529
</a>
504530
</td>
505-
</tr>
506-
<tr>
507531
<td align="center" width="120">
508532
<a href="https://github.com/madhavcodes25">
509533
<img src="https://github.com/madhavcodes25.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="madhavcodes25" /><br />
@@ -516,6 +540,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
516540
<sub><b>@mahi-8758</b></sub>
517541
</a>
518542
</td>
543+
</tr>
544+
<tr>
519545
<td align="center" width="120">
520546
<a href="https://github.com/mrinmoyChakraborty-mrinox">
521547
<img src="https://github.com/mrinmoyChakraborty-mrinox.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="mrinmoyChakraborty-mrinox" /><br />
@@ -540,8 +566,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
540566
<sub><b>@nimkarprachi17</b></sub>
541567
</a>
542568
</td>
543-
</tr>
544-
<tr>
545569
<td align="center" width="120">
546570
<a href="https://github.com/nishtha-agarwal-211">
547571
<img src="https://github.com/nishtha-agarwal-211.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="nishtha-agarwal-211" /><br />
@@ -554,6 +578,14 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
554578
<sub><b>@parasmani-dev</b></sub>
555579
</a>
556580
</td>
581+
</tr>
582+
<tr>
583+
<td align="center" width="120">
584+
<a href="https://github.com/pragya-manna">
585+
<img src="https://github.com/pragya-manna.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="pragya-manna" /><br />
586+
<sub><b>@pragya-manna</b></sub>
587+
</a>
588+
</td>
557589
<td align="center" width="120">
558590
<a href="https://github.com/prasad-0007">
559591
<img src="https://github.com/prasad-0007.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="prasad-0007" /><br />
@@ -566,20 +598,32 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
566598
<sub><b>@priya05-git</b></sub>
567599
</a>
568600
</td>
601+
<td align="center" width="120">
602+
<a href="https://github.com/r-sushanth08">
603+
<img src="https://github.com/r-sushanth08.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="r-sushanth08" /><br />
604+
<sub><b>@r-sushanth08</b></sub>
605+
</a>
606+
</td>
569607
<td align="center" width="120">
570608
<a href="https://github.com/rishit537">
571609
<img src="https://github.com/rishit537.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="rishit537" /><br />
572610
<sub><b>@rishit537</b></sub>
573611
</a>
574612
</td>
613+
<td align="center" width="120">
614+
<a href="https://github.com/sakshicoded1111">
615+
<img src="https://github.com/sakshicoded1111.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="sakshicoded1111" /><br />
616+
<sub><b>@sakshicoded1111</b></sub>
617+
</a>
618+
</td>
619+
</tr>
620+
<tr>
575621
<td align="center" width="120">
576622
<a href="https://github.com/sanzzzz-g">
577623
<img src="https://github.com/sanzzzz-g.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="sanzzzz-g" /><br />
578624
<sub><b>@sanzzzz-g</b></sub>
579625
</a>
580626
</td>
581-
</tr>
582-
<tr>
583627
<td align="center" width="120">
584628
<a href="https://github.com/shimonenator">
585629
<img src="https://github.com/shimonenator.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="shimonenator" /><br />
@@ -598,12 +642,20 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
598642
<sub><b>@shreyasgawande19</b></sub>
599643
</a>
600644
</td>
645+
<td align="center" width="120">
646+
<a href="https://github.com/siri-004">
647+
<img src="https://github.com/siri-004.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="siri-004" /><br />
648+
<sub><b>@siri-004</b></sub>
649+
</a>
650+
</td>
601651
<td align="center" width="120">
602652
<a href="https://github.com/snehacodes-2906">
603653
<img src="https://github.com/snehacodes-2906.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="snehacodes-2906" /><br />
604654
<sub><b>@snehacodes-2906</b></sub>
605655
</a>
606656
</td>
657+
</tr>
658+
<tr>
607659
<td align="center" width="120">
608660
<a href="https://github.com/snehanair-486">
609661
<img src="https://github.com/snehanair-486.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="snehanair-486" /><br />
@@ -616,8 +668,6 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
616668
<sub><b>@steam-bell-92</b></sub>
617669
</a>
618670
</td>
619-
</tr>
620-
<tr>
621671
<td align="center" width="120">
622672
<a href="https://github.com/sujitsingh8">
623673
<img src="https://github.com/sujitsingh8.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="sujitsingh8" /><br />
@@ -642,6 +692,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
642692
<sub><b>@vedika76</b></sub>
643693
</a>
644694
</td>
695+
</tr>
696+
<tr>
645697
<td align="center" width="120">
646698
<a href="https://github.com/vedikabajaj05">
647699
<img src="https://github.com/vedikabajaj05.png?size=100" width="100" height="100" style="border-radius:50%; border:2px solid #555;" alt="vedikabajaj05" /><br />
@@ -654,6 +706,10 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
654706
<sub><b>@vivekCS007</b></sub>
655707
</a>
656708
</td>
709+
<td width="120"></td>
710+
<td width="120"></td>
711+
<td width="120"></td>
712+
<td width="120"></td>
657713
</tr>
658714
</table>
659715
<!-- CONTRIBUTORS_END -->

games/Math-Quiz/Math-Quiz.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,25 @@
99
import json
1010
import os
1111
import time
12-
import winsound
12+
try:
13+
import winsound
14+
except ImportError:
15+
winsound = None
1316

1417
# ─────────────────────────────────────────────
1518
# Utility Functions
1619
# ─────────────────────────────────────────────
1720

1821
def play_sound(sound_type):
22+
if not winsound:
23+
try:
24+
if hasattr(tk, '_default_root') and tk._default_root:
25+
tk._default_root.bell()
26+
else:
27+
print('\a', end='', flush=True)
28+
except Exception:
29+
pass
30+
return
1931
try:
2032
if sound_type == 'correct':
2133
winsound.Beep(1000, 150) # Frequency, duration

0 commit comments

Comments
 (0)