MCPcopy
hub / github.com/imnowdevops/ddc-material / vac_feedback

Function vac_feedback

16.Python/Python-Scripts/modern.py:3–12  ·  view source on GitHub ↗
(vac, efficacy)

Source from the content-addressed store, hash-verified

1import random
2
3def vac_feedback(vac, efficacy):
4 print(f"{vac} Vaccine is having {efficacy} % efficacy.")
5 if (efficacy > 50) and (efficacy <= 75):
6 print("Seems not so effective, Needs more trial.")
7 elif (efficacy > 75) and (efficacy < 90):
8 print("Can consider this vaccine.")
9 elif efficacy >= 90:
10 print("Sure, will take the shot.")
11 else:
12 print("Needs many more trials.")
13
14def order_food(min_order, *args):
15 print(f"You have ordered: {min_order}")

Callers 1

call-modern-2.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected