-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdiction.py
More file actions
1159 lines (1155 loc) · 41 KB
/
diction.py
File metadata and controls
1159 lines (1155 loc) · 41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
query = input("Search the dictionary: ").lower()
if query == "hello":
print("Hello")
print()
print("Used when meeting or greeting someone")
elif query == "cat":
print("Cat")
print()
print("A small carnivorous animal with fur, four legs and claws, kept as a pet or used to catch mice")
elif query == "dog":
print("Dog")
print()
print("A domesticated carnivorous mammal typically kept as a pet or for guarding or herding")
elif query == "pet":
print("Pet")
print()
print("An animal kept for companionship or pleasure rather than utility")
elif query == "car":
print("Car")
print()
print("A vehicle with four wheels that is propelled by an engine, typically used for transporting people or goods on roads")
elif query == "truck":
print("Truck")
print()
print("A large, heavy motor vehicle used for transporting goods, materials, or troops")
elif query == "computer":
print("Computer")
print()
print("An electronic device capable of performing calculations, storing data, and executing programmed instructions")
elif query == "book":
print("Book")
print()
print("A written or printed work consisting of pages glued or sewn together along one side and bound in covers")
elif query == "tree":
print("Tree")
print()
print("A woody perennial plant, typically having a single stem or trunk growing to a considerable height")
elif query == "flower":
print("Flower")
print()
print("The reproductive structure found in flowering plants, often appreciated for their beauty and fragrance")
elif query == "house":
print("House")
print()
print("A building for human habitation, typically consisting of a ground floor and one or more upper stories")
elif query == "phone":
print("Phone")
print()
print("A device used to transmit sound, especially speech, to a distant point")
elif query == "music":
print("Music")
print()
print("Vocal or instrumental sounds (or both) combined in such a way as to produce beauty of form, harmony, and expression of emotion")
elif query == "language":
print("Language")
print()
print("The method of human communication, either spoken or written, consisting of the use of words in a structured and conventional way")
elif query == "school":
print("School")
print()
print("An institution for educating children or adolescents, typically organized by a faculty of teachers")
elif query == "university":
print("University")
print()
print("An institution of higher education and research, typically offering academic degrees in various disciplines")
elif query == "student":
print("Student")
print()
print("A person who is studying at a school, college, or university")
elif query == "teacher":
print("Teacher")
print()
print("A person who teaches, especially in a school")
elif query == "government":
print("Government")
print()
print("The governing body of a nation, state, or community")
elif query == "politics":
print("Politics")
print()
print("The activities associated with the governance of a country or other area, especially the debate or conflict among individuals or parties having or hoping to achieve power")
elif query == "beach":
print("Beach")
print()
print("A shore of a body of water, especially when sandy or pebbly")
elif query == "mountain":
print("Mountain")
print()
print("A large natural elevation of the earth's surface rising abruptly from the surrounding level")
elif query == "ocean":
print("Ocean")
print()
print("A very large expanse of sea, in particular, each of the main areas into which the sea is divided geographically")
elif query == "river":
print("River")
print()
print("A large natural stream of water flowing in a channel to the sea, a lake, or another such stream")
elif query == "city":
print("City")
print()
print("A large town")
elif query == "country":
print("Country")
print()
print("A nation with its own government, occupying a particular territory")
elif query == "planet":
print("Planet")
print()
print("A celestial body moving in an elliptical orbit around a star")
elif query == "universe":
print("Universe")
print()
print("All existing matter and space considered as a whole")
elif query == "moon":
print("Moon")
print()
print("The natural satellite of the earth, visible chiefly at night by reflected light from the sun")
elif query == "star":
print("Star")
print()
print("A fixed luminous point in the night sky that is a large, remote incandescent body like the sun")
elif query == "sun":
print("Sun")
print()
print("The star around which the earth orbits")
elif query == "light":
print("Light")
print()
print("The natural agent that stimulates sight and makes things visible")
elif query == "dark":
print("Dark")
print()
print("With little or no light")
elif query == "water":
print("Water")
print()
print("A colorless, transparent, odorless, and tasteless liquid essential for most plant and animal life")
elif query == "fire":
print("Fire")
print()
print("The phenomenon of combustion manifested in light, heat, and flame")
elif query == "earth":
print("Earth")
print()
print("The third planet from the sun, the only planet known to support life")
elif query == "air":
print("Air")
print()
print("The invisible gaseous substance surrounding the earth, a mixture mainly of oxygen and nitrogen")
elif query == "wind":
print("Wind")
print()
print("The natural movement of air, especially in the form of a current of air blowing from a particular direction")
elif query == "rain":
print("Rain")
print()
print("Moisture condensed from the atmosphere that falls visibly in separate drops")
elif query == "snow":
print("Snow")
print()
print("Atmospheric water vapor frozen into ice crystals and falling in light white flakes or lying on the ground as a white layer")
elif query == "ice":
print("Ice")
print()
print("Frozen water, a brittle, transparent crystalline solid")
elif query == "rock":
print("Rock")
print()
print("The solid mineral material forming part of the surface of the earth and other similar planets, exposed on the surface or underlying the soil or oceans")
elif query == "sand":
print("Sand")
print()
print("A loose granular substance, typically pale yellowish brown, resulting from the erosion of siliceous and other rocks and forming a major constituent of beaches, riverbeds, and deserts")
elif query == "metal":
print("Metal")
print()
print("A solid material that is typically hard, shiny, malleable, fusible, and ductile, with good electrical and thermal conductivity")
elif query == "gold":
print("Gold")
print()
print("A yellow precious metal, the chemical element of atomic number 79, valued especially for use in jewelry and decoration and as a store of value")
elif query == "silver":
print("Silver")
print()
print("A precious shiny grayish-white metal, the chemical element of atomic number 47")
elif query == "iron":
print("Iron")
print()
print("A strong, hard magnetic silvery-gray metal, the chemical element of atomic number 26")
elif query == "copper":
print("Copper")
print()
print("A red-brown metal, the chemical element of atomic number 29")
elif query == "lead":
print("Lead")
print()
print("A heavy, bluish-gray metal, the chemical element of atomic number 82")
elif query == "airplane":
print("Airplane")
print()
print("A powered flying vehicle with fixed wings and a weight greater than that of the air it displaces")
elif query == "rocket":
print("Rocket")
print()
print("A cylindrical projectile that can be propelled to a great height or distance by the combustion of its contents, used typically as a firework or signal")
elif query == "satellite":
print("Satellite")
print()
print("An artificial body placed in orbit around the earth or another planet in order to collect information or for communication")
elif query == "internet":
print("Internet")
print()
print("A global computer network providing a variety of information and communication facilities, consisting of interconnected networks using standardized communication protocols")
elif query == "website":
print("Website")
print()
print("A location connected to the internet that maintains one or more pages on the World Wide Web")
elif query == "email":
print("Email")
print()
print("Messages distributed by electronic means from one computer user to one or more recipients via a network")
elif query == "social":
print("Social")
print()
print("Relating to society or its organization")
elif query == "media":
print("Media")
print()
print("The main means of mass communication regarded collectively, including television, radio, newspapers, and the internet")
elif query == "television":
print("Television")
print()
print("A system for transmitting visual images and sound that are reproduced on screens, chiefly used to broadcast programs for entertainment, information, and education")
elif query == "radio":
print("Radio")
print()
print("The transmission and reception of electromagnetic waves of radio frequency, especially those carrying sound messages")
elif query == "newspaper":
print("Newspaper")
print()
print("A printed publication (usually issued daily or weekly) consisting of folded unstapled sheets and containing news, feature articles, advertisements, and correspondence")
elif query == "magazine":
print("Magazine")
print()
print("A publication (periodical or non-periodical) with articles and illustrations, typically on a particular subject or aimed at a particular readership")
elif query == "movie":
print("Movie")
print()
print("A story or event recorded by a camera as a set of moving images and shown in a theater or on television")
elif query == "film":
print("Film")
print()
print("A thin flexible strip of plastic or other material coated with light-sensitive emulsion for exposure in a camera, used to produce photographs or motion pictures")
elif query == "camera":
print("Camera")
print()
print("An optical instrument for recording or capturing images, which may be stored locally, transmitted to another location, or both")
elif query == "painting":
print("Painting")
print()
print("The process or art of using paint, in a picture, as a protective coating, or as decoration")
elif query == "sculpture":
print("Sculpture")
print()
print("The art of making two- or three-dimensional representative or abstract forms, especially by carving stone or wood or by casting metal or plaster")
elif query == "architecture":
print("Architecture")
print()
print("The art or practice of designing and constructing buildings")
elif query == "design":
print("Design")
print()
print("A plan or drawing produced to show the look and function or workings of a building, garment, or other object before it is built or made")
elif query == "drawing":
print("Drawing")
print()
print("A picture or diagram made with a pencil, pen, or crayon rather than paint, especially one drawn in monochrome")
elif query == "photography":
print("Photography")
print()
print("The art or practice of taking and processing photographs")
elif query == "writing":
print("Writing")
print()
print("The activity or skill of marking coherent words on paper and composing text")
elif query == "poetry":
print("Poetry")
print()
print("Literary work in which special intensity is given to the expression of feelings and ideas by the use of distinctive style and rhythm")
elif query == "fiction":
print("Fiction")
print()
print("Literature in the form of prose, especially short stories and novels, that describes imaginary events and people")
elif query == "non-fiction":
print("Non-fiction")
print()
print("Prose writing that is informative or factual rather than fictional")
elif query == "history":
print("History")
print()
print("The study of past events, particularly in human affairs")
elif query == "geography":
print("Geography")
print()
print("The study of the physical features of the earth and its atmosphere, and of human activity as it affects and is affected by these, including the distribution of populations and resources, land use, and industries")
elif query == "economics":
print("Economics")
print()
print("The branch of knowledge concerned with the production, consumption, and transfer of wealth")
elif query == "psychology":
print("Psychology")
print()
print("The scientific study of the human mind and its functions, especially those affecting behavior in a given context")
elif query == "sociology":
print("Sociology")
print()
print("The study of the development, structure, and functioning of human society")
elif query == "anthropology":
print("Anthropology")
print()
print("The study of human societies and cultures and their development")
elif query == "biology":
print("Biology")
print()
print("The study of living organisms and their interactions with one another and their environments")
elif query == "chemistry":
print("Chemistry")
print()
print("The branch of science that deals with the identification of the substances of which matter is composed, the investigation of their properties and the ways in which they interact, combine, and change, and the use of these processes to form new substances")
elif query == "physics":
print("Physics")
print()
print("The branch of science concerned with the nature and properties of matter and energy")
elif query == "astronomy":
print("Astronomy")
print()
print("The branch of science that deals with celestial objects, space, and the physical universe as a whole")
elif query == "mathematics":
print("Mathematics")
print()
print("The abstract science of numbers, quantity, and space, either as abstract concepts (pure mathematics) or as applied to other disciplines such as physics and engineering (applied mathematics)")
elif query == "logic":
print("Logic")
print()
print("Reasoning conducted or assessed according to strict principles of validity")
elif query == "philosophy":
print("Philosophy")
print()
print("The study of the fundamental nature of knowledge, reality, and existence, especially when considered as an academic discipline")
elif query == "religion":
print("Religion")
print()
print("The belief in and worship of a superhuman controlling power, especially a personal God or gods")
elif query == "mythology":
print("Mythology")
print()
print("A collection of myths, especially one belonging to a particular religious or cultural tradition")
elif query == "legend":
print("Legend")
print()
print("A traditional story sometimes popularly regarded as historical but unauthenticated")
elif query == "folklore":
print("Folklore")
print()
print("The traditional beliefs, customs, and stories of a community, passed through the generations by word of mouth")
elif query == "fairy tale":
print("Fairy tale")
print()
print("A children's story about magical and imaginary beings and lands")
elif query == "folk song":
print("Folk song")
print()
print("A traditional song originating among the common people of a nation or region")
elif query == "dance":
print("Dance")
print()
print("A series of movements that match the speed and rhythm of a piece of music")
elif query == "theater":
print("Theater")
print()
print("A building or outdoor area in which plays and other dramatic performances are given")
elif query == "concert":
print("Concert")
print()
print("A musical performance given in public, typically by several performers or of several separate compositions")
elif query == "opera":
print("Opera")
print()
print("A dramatic work in one or more acts, set to music for singers and instrumentalists")
elif query == "symphony":
print("Symphony")
print()
print("An elaborate musical composition for full orchestra, typically in four movements, at least one of which is traditionally in sonata form")
elif query == "painter":
print("Painter")
print()
print("An artist who paints pictures")
elif query == "sculptor":
print("Sculptor")
print()
print("An artist who makes sculptures")
elif query == "composer":
print("Composer")
print()
print("A person who writes music, especially as a professional occupation")
elif query == "author":
print("Author")
print()
print("A writer of a book, article, or document")
elif query == "actor":
print("Actor")
print()
print("A person whose profession is acting on stage, in movies, or on television")
elif query == "singer":
print("Singer")
print()
print("A person who sings, especially professionally")
elif query == "dancer":
print("Dancer")
print()
print("A person who dances or whose profession is dancing")
elif query == "musician":
print("Musician")
print()
print("A person who plays a musical instrument, especially as a profession, or is musically talented")
elif query == "poet":
print("Poet")
print()
print("A person who writes poems")
elif query == "novelist":
print("Novelist")
print()
print("A person who writes novels, or a writer of novels")
elif query == "biologist":
print("Biologist")
print()
print("A scientist who studies living organisms")
elif query == "chemist":
print("Chemist")
print()
print("A scientist who specializes in chemistry")
elif query == "physicist":
print("Physicist")
print()
print("A scientist who specializes in physics")
elif query == "astronomer":
print("Astronomer")
print()
print("A scientist who studies astronomy")
elif query == "mathematician":
print("Mathematician")
print()
print("A person who is an expert in mathematics")
elif query == "historian":
print("Historian")
print()
print("A person who studies or writes about history")
elif query == "geologist":
print("Geologist")
print()
print("A scientist who studies the solid and liquid matter that constitutes the Earth, as well as the processes that shape it")
elif query == "psychologist":
print("Psychologist")
print()
print("A scientist who studies the mind and behavior")
elif query == "sociologist":
print("Sociologist")
print()
print("A scientist who studies society and social behavior")
elif query == "anthropologist":
print("Anthropologist")
print()
print("A scientist who studies human societies and cultures and their development")
elif query == "economist":
print("Economist")
print()
print("A person who studies or is an expert in economics")
elif query == "philosopher":
print("Philosopher")
print()
print("A person who studies philosophy, a study of the fundamental nature of knowledge, reality, and existence")
elif query == "theologian":
print("Theologian")
print()
print("A person who engages or is an expert in the study of theology, the study of the nature of God and religious belief")
elif query == "priest":
print("Priest")
print()
print("A person who is authorized to perform religious ceremonies and duties in particular as a mediatory agent between humans and God")
elif query == "monk":
print("Monk")
print()
print("A member of a religious community of men typically living under vows of poverty, chastity, and obedience")
elif query == "nun":
print("Nun")
print()
print("A member of a religious community of women, typically living under vows of poverty, chastity, and obedience")
elif query == "bishop":
print("Bishop")
print()
print("A senior member of the Christian clergy, typically in charge of a diocese and empowered to confer holy orders")
elif query == "pope":
print("Pope")
print()
print("The bishop of Rome as head of the Roman Catholic Church")
elif query == "imam":
print("Imam")
print()
print("The person who leads prayers in a mosque")
elif query == "rabbi":
print("Rabbi")
print()
print("A Jewish scholar or teacher, especially one who studies or teaches Jewish law")
elif query == "guru":
print("Guru")
print()
print("A spiritual teacher, especially one who imparts initiation")
elif query == "swami":
print("Swami")
print()
print("A Hindu religious teacher")
elif query == "dalai lama":
print("Dalai Lama")
print()
print("The spiritual head of Tibetan Buddhism and, until the establishment of Chinese communist rule, the spiritual and temporal ruler of Tibet")
elif query == "mullah":
print("Mullah")
print()
print("A Muslim learned in Islamic theology and sacred law")
elif query == "bishop":
print("Bishop")
print()
print("A senior member of the Christian clergy, typically in charge of a diocese and empowered to confer holy orders")
elif query == "archbishop":
print("Archbishop")
print()
print("A bishop of the highest rank, heading an archdiocese")
elif query == "cardinal":
print("Cardinal")
print()
print("A leading dignitary of the Roman Catholic Church")
elif query == "pastor":
print("Pastor")
print()
print("A minister in charge of a Christian church or congregation")
elif query == "preacher":
print("Preacher")
print()
print("A person who delivers sermons or gives religious instruction")
elif query == "minister":
print("Minister")
print()
print("A member of the clergy, especially in Protestant churches")
elif query == "chaplain":
print("Chaplain")
print()
print("A member of the clergy attached to a private chapel, institution, ship, regiment, etc")
elif query == "monsignor":
print("Monsignor")
print()
print("A title of respect or honor given to a priest")
elif query == "curate":
print("Curate")
print()
print("A member of the clergy engaged as assistant to a vicar, rector, or parish priest")
elif query == "deacon":
print("Deacon")
print()
print("An ordained minister of an order ranking below that of priest")
elif query == "canon":
print("Canon")
print()
print("A member of the clergy attached to a cathedral who is a member of the chapter and is responsible for organizing services and maintaining the fabric of the cathedral")
elif query == "layman":
print("Layman")
print()
print("A person who is not a member of the clergy")
elif query == "laity":
print("Laity")
print()
print("Ordinary people, as distinct from professionals or experts")
elif query == "professor":
print("Professor")
print()
print("A senior academic faculty member in a college or university")
elif query == "lecturer":
print("Lecturer")
print()
print("A person who gives lectures, especially as an occupation at a university or college of higher education")
elif query == "researcher":
print("Researcher")
print()
print("A person who conducts research, especially as an occupation")
elif query == "scientist":
print("Scientist")
print()
print("A person who is studying or has expert knowledge of one or more of the natural or physical sciences")
elif query == "engineer":
print("Engineer")
print()
print("A person who designs, builds, or maintains engines, machines, or structures")
elif query == "technician":
print("Technician")
print()
print("A person employed to look after technical equipment or do practical work in a laboratory")
elif query == "doctor":
print("Doctor")
print()
print("A qualified practitioner of medicine, a physician")
elif query == "nurse":
print("Nurse")
print()
print("A person trained to care for the sick or infirm, especially in a hospital")
elif query == "paramedic":
print("Paramedic")
print()
print("A person trained to give emergency medical treatment or assist medical professionals")
elif query == "dentist":
print("Dentist")
print()
print("A person qualified to treat the diseases and conditions that affect the teeth and gums")
elif query == "pharmacist":
print("Pharmacist")
print()
print("A person who is professionally qualified to prepare and dispense medicinal drugs")
elif query == "surgeon":
print("Surgeon")
print()
print("A medical practitioner qualified to practice surgery")
elif query == "veterinarian":
print("Veterinarian")
print()
print("A person qualified to treat diseased or injured animals")
elif query == "optometrist":
print("Optometrist")
print()
print("A person who practices optometry, the profession of examining eyes and prescribing glasses")
elif query == "psychiatrist":
print("Psychiatrist")
print()
print("A medical practitioner specializing in the diagnosis and treatment of mental illness")
elif query == "psychologist":
print("Psychologist")
print()
print("A person who studies or practices psychology, the scientific study of the human mind and its functions")
elif query == "therapist":
print("Therapist")
print()
print("A person who treats psychological or physical disorders, especially by psychological means")
elif query == "counselor":
print("Counselor")
print()
print("A person trained to give guidance on personal, social, or psychological problems")
elif query == "social worker":
print("Social worker")
print()
print("A person who is professionally trained to assist individuals and families with personal and social problems")
elif query == "nutritionist":
print("Nutritionist")
print()
print("A person who specializes in or is an expert on the subject of nutrition")
elif query == "personal trainer":
print("Personal trainer")
print()
print("A person who helps individuals exercise effectively and safely")
elif query == "coach":
print("Coach")
print()
print("A person who teaches and trains the members of a sports team")
elif query == "athlete":
print("Athlete")
print()
print("A person who is proficient in sports and other forms of physical exercise")
elif query == "referee":
print("Referee")
print()
print("An official who watches a game or match closely to ensure that the rules are adhered to and to arbitrate on matters arising from the play")
elif query == "umpire":
print("Umpire")
print()
print("An official in various sports who governs the play and enforces the rules")
elif query == "judge":
print("Judge")
print()
print("A public official appointed to decide cases in a court of law")
elif query == "lawyer":
print("Lawyer")
print()
print("A person who practices or studies law, an attorney or a counselor")
elif query == "prosecutor":
print("Prosecutor")
print()
print("A person, especially a public official, who institutes legal proceedings against someone")
elif query == "advocate":
print("Advocate")
print()
print("A person who publicly supports or recommends a particular cause or policy")
elif query == "detective":
print("Detective")
print()
print("A person, especially a police officer, whose occupation is to investigate and solve crimes")
elif query == "spy":
print("Spy")
print()
print("A person employed by a government or other organization to secretly obtain information on an enemy or competitor")
elif query == "agent":
print("Agent")
print()
print("A person who acts on behalf of another, in particular")
elif query == "bodyguard":
print("Bodyguard")
print()
print("A person or group of persons employed to escort and protect an important or famous person")
elif query == "pilot":
print("Pilot")
print()
print("A person who operates the controls of an aircraft")
elif query == "astronaut":
print("Astronaut")
print()
print("A person who is trained to travel in a spacecraft")
elif query == "cosmonaut":
print("Cosmonaut")
print()
print("A Russian astronaut")
elif query == "engineer":
print("Engineer")
print()
print("A person who designs, builds, or maintains engines, machines, or structures")
elif query == "architect":
print("Architect")
print()
print("A person who designs buildings and in many cases also supervises their construction")
elif query == "builder":
print("Builder")
print()
print("A person who constructs something by putting parts or material together over a period of time")
elif query == "contractor":
print("Contractor")
print()
print("A person or company that undertakes a contract to provide materials or labor to perform a service or do a job")
elif query == "electrician":
print("Electrician")
print()
print("A person who installs and maintains electrical equipment")
elif query == "plumber":
print("Plumber")
print()
print("A person who installs and repairs the pipes and fittings of water supply, sanitation, or heating systems")
elif query == "carpenter":
print("Carpenter")
print()
print("A person who makes and repairs wooden objects and structures")
elif query == "mechanic":
print("Mechanic")
print()
print("A person who repairs and maintains machinery")
elif query == "technician":
print("Technician")
print()
print("A person employed to look after technical equipment or do practical work in a laboratory")
elif query == "scientist":
print("Scientist")
print()
print("A person who is studying or has expert knowledge of one or more of the natural or physical sciences")
elif query == "chemist":
print("Chemist")
print()
print("A scientist who specializes in chemistry")
elif query == "biologist":
print("Biologist")
print()
print("A scientist who studies living organisms and their interactions with one another and their environments")
elif query == "physicist":
print("Physicist")
print()
print("A scientist who specializes in physics")
elif query == "astronomer":
print("Astronomer")
print()
print("A scientist who studies astronomy")
elif query == "mathematician":
print("Mathematician")
print()
print("A person who is an expert in mathematics")
elif query == "geologist":
print("Geologist")
print()
print("A scientist who studies the solid and liquid matter that constitutes the Earth, as well as the processes that shape it")
elif query == "engineer":
print("Engineer")
print()
print("A person who designs, builds, or maintains engines, machines, or structures")
elif query == "architect":
print("Architect")
print()
print("A person who designs buildings and in many cases also supervises their construction")
elif query == "builder":
print("Builder")
print()
print("A person who constructs something by putting parts or material together over a period of time")
elif query == "contractor":
print("Contractor")
print()
print("A person or company that undertakes a contract to provide materials or labor to perform a service or do a job")
elif query == "electrician":
print("Electrician")
print()
print("A person who installs and maintains electrical equipment")
elif query == "plumber":
print("Plumber")
print()
print("A person who installs and repairs the pipes and fittings of water supply, sanitation, or heating systems")
elif query == "carpenter":
print("Carpenter")
print()
print("A person who makes and repairs wooden objects and structures")
elif query == "mechanic":
print("Mechanic")
print()
print("A person who repairs and maintains machinery")
elif query == "technician":
print("Technician")
print()
print("A person employed to look after technical equipment or do practical work in a laboratory")
elif query == "scientist":
print("Scientist")
print()
print("A person who is studying or has expert knowledge of one or more of the natural or physical sciences")
elif query == "chemist":
print("Chemist")
print()
print("A scientist who specializes in chemistry")
elif query == "biologist":
print("Biologist")
print()
print("A scientist who studies living organisms and their interactions with one another and their environments")
elif query == "physicist":
print("Physicist")
print()
print("A scientist who specializes in physics")
elif query == "astronomer":
print("Astronomer")
print()
print("A scientist who studies astronomy")
elif query == "mathematician":
print("Mathematician")
print()
print("A person who is an expert in mathematics")
elif query == "geologist":
print("Geologist")
print()
print("A scientist who studies the solid and liquid matter that constitutes the Earth, as well as the processes that shape it")
elif query == "love":
print("Love")
print()
print("An intense feeling of deep affection; a great interest and pleasure in something")
elif query == "hate":
print("Hate")
print()
print("Intense or passionate dislike for someone or something")
elif query == "friend":
print("Friend")
print()
print("A person with whom one has a bond of mutual affection, typically one exclusive of sexual or family relations")
elif query == "family":
print("Family")
print()
print("A group consisting of parents and children living together in a household")
elif query == "home":
print("Home")
print()
print("The place where one lives permanently, especially as a member of a family or household")
elif query == "work":
print("Work")
print()
print("Activity involving mental or physical effort done in order to achieve a purpose or result")
elif query == "school":
print("School")
print()
print("An institution for educating children")
elif query == "study":
print("Study")
print()
print("The devotion of time and attention to acquiring knowledge on an academic subject")
elif query == "learn":
print("Learn")
print()
print("Gain or acquire knowledge of or skill in (something) by study, experience, or being taught")
elif query == "play":
print("Play")
print()
print("Engage in activity for enjoyment and recreation rather than a serious or practical purpose")
elif query == "fun":
print("Fun")
print()
print("Enjoyment, amusement, or lighthearted pleasure")
elif query == "sad":
print("Sad")
print()
print("Feeling or showing sorrow; unhappy")
elif query == "happy":
print("Happy")
print()
print("Feeling or showing pleasure or contentment")
elif query == "angry":
print("Angry")
print()
print("Feeling or showing strong annoyance, displeasure, or hostility")
elif query == "excited":
print("Excited")
print()
print("Feeling or showing enthusiasm or eagerness")
elif query == "tired":
print("Tired")
print()
print("In need of sleep or rest; weary")
elif query == "sleep":
print("Sleep")
print()
print("A condition of body and mind that typically recurs for several hours every night, in which the nervous system is relatively inactive, the eyes closed, the postural muscles relaxed, and consciousness practically suspended")
elif query == "eat":
print("Eat")
print()
print("Put (food) into the mouth and chew and swallow it")
elif query == "drink":
print("Drink")
print()
print("Take (a liquid) into the mouth and swallow")
elif query == "travel":
print("Travel")
print()
print("The action of traveling, typically abroad")
elif query == "vacation":
print("Vacation")
print()
print("An extended period of leisure and recreation, typically away from one's usual residence or work")
elif query == "music":
print("Music")
print()
print("Vocal or instrumental sounds (or both) combined in such a way as to produce beauty of form, harmony, and expression of emotion")
elif query == "dance":
print("Dance")
print()
print("A series of movements that match the speed and rhythm of a piece of music")
elif query == "TGIF":
print("TGIF")
print()
print("Thank God It's Friday, an expression of relief at the end of the working week")
elif query == "ASAP":
print("ASAP")
print()
print("As Soon As Possible, used to indicate that something should be done with urgency")
elif query == "DIY":
print("DIY")
print()
print("Do It Yourself, the activity of decorating, building, and making repairs at home by oneself rather than employing a professional")
elif query == "FYI":
print("FYI")
print()
print("For Your Information, used to provide someone with information that may be useful or interesting to them")
elif query == "LOL":
print("LOL")
print()
print("Laugh Out Loud, used to indicate laughter or amusement")
elif query == "OMG":
print("OMG")
print()
print("Oh My God, used to express surprise, excitement, disbelief, etc.")
elif query == "BRB":
print("BRB")
print()
print("Be Right Back, used to indicate that the speaker will briefly leave but intends to return soon")
print("Hello")
print()
print("Used when meeting or greeting someone")
elif query == "cat":
print("Cat")
print()
print("A small carnivorous animal with fur, four legs and claws, kept as a pet or used to catch mice")
elif query == "dog":
print("Dog")
print()
print("A small or large sized carnivorous animal with fur, four legs and claws as well as an acute sense of smell")
elif query == "pet:":
print("Pet")
print()
print("A tame or domesticated animal")
elif query == "car":
print("Car")
print()
print("A vehicle with 4 wheels that is propelled not by human force and is able to travel on roads")
elif query == "truck":
print("Truck")
print()
print("A large, heavy road vehicle designed to carry heavy loads and cargo")
elif query == "etc":
print("ETC")
print()