Untitled

 avatar
unknown
plain_text
17 days ago
1.8 kB
5
Indexable
score = 0

print("๐Ÿงช Welcome to the Digestive System Quiz!")
print("Answer the following questions:\n")

# Q1
answer1 = input("Q1: What is digestion? ")
if "breaking down" in answer1.lower() and "food" in answer1.lower():
    print("โœ… Correct!")
    score += 2
else:
    print("โŒ Digestion is the process of breaking down large, insoluble food molecules into small, soluble ones.")

# Q2
answer2 = input("\nQ2: Give one example of mechanical digestion: ")
if "chewing" in answer2.lower() or "churning" in answer2.lower():
    print("โœ… Correct!")
    score += 2
else:
    print("โŒ Mechanical digestion is chewing in the mouth or churning in the stomach.")

# Q3
answer3 = input("\nQ3: Name one organ that helps digestion but food does not pass through it: ")
if answer3.lower() in ["liver", "pancreas"]:
    print("โœ… Correct!")
    score += 2
else:
    print("โŒ Correct answers: Liver or Pancreas.")

# Q4
answer4 = input("\nQ4: What is one cause of constipation? ")
if "fiber" in answer4.lower() or "water" in answer4.lower():
    print("โœ… Correct!")
    score += 2
else:
    print("โŒ Constipation is often caused by lack of fiber or water.")

# Q5
answer5 = input("\nQ5: Describe one step food takes from mouth to small intestine: ")
if "mouth" in answer5.lower() or "esophagus" in answer5.lower() or "stomach" in answer5.lower():
    print("โœ… Correct!")
    score += 2
else:
    print("โŒ Example: Food is chewed in the mouth, then pushed down the esophagus, then churned in the stomach.")

# Final Score
print("\n๐ŸŽฏ Quiz Complete!")
print("Your total score is:", score, "out of 10")
if score >= 8:
    print("๐ŸŒŸ Excellent work!")
elif score >= 5:
    print("๐Ÿ‘ Good effort, keep revising!")
else:
    print("๐Ÿ“˜ Review your notes again and try once more.")
    
Editor is loading...
Leave a Comment