import random Flashcards data flashcards = [ ("Meaning of Agriculture", "Art and science of growing crops and rearing animals for man’s use."), ("Two Latin roots of Agriculture", "Ager (field) and Cultura (cultivation)"), ("Importance of Agriculture", "Provides food, clothing/shelter materials, and income."), ("Branches of Agriculture", "Animal Husbandry, Soil Science, Crop Production, Forestry, Fishery, Apiculture, Heliculture."), ("Example of Agro-allied industry", "Beverage industries use cocoa and coffee (e.g. Bournvita, tea)."), ("Meaning of Subsistence Agriculture", "Farming to feed one’s family only."), ("Tools used in Subsistence Agriculture", "Cutlass, hoe (crude tools)."), ("Meaning of Commercial Agriculture", "Large-scale farming for sale/profit."), ("Problems of Subsistence Farming", "Small land, crude tools, illiteracy."), ("Solution to pest/disease problems", "Use improved pest-resistant varieties."), ("Difference between Subsistence & Commercial", "Subsistence = small scale, for family. Commercial = large scale, for sale."), ("Problems of Agriculture (CAPE)", "Capital lack, Agric tools lacking, Pests/diseases, Environmental/weather issues."), ("Branches Mnemonic", "Animals Serve Crops, Fish, Forests, And Honey!"), ("Nation Importance Mnemonic (FIRM)", "Foreign exchange, Industrial market, Raw materials, Money (revenue)."), ("Subsistence Memory Trick", "Small, Simple, Slow: Small land, Simple tools, Slow output."), ("Commercial Memory Trick", "Big, Better, Business: Big land, Better tools, Business purpose.") ] def show_flashcards(): print("\n--- Agricultural Science Flashcards ---\n") cards = flashcards.copy() random.shuffle(cards) for front, back in cards: input(f"Q: {front}? (press Enter to see answer)") print(f"A: {back}\n") if name == "main": show_flashcards()

Comments