Practicum 2: Conditionals, For Loops, etc
1What is the output of the given code?
- A. orange
- B. orange
grapefruit
- C. grapefruit
- D. grapefruit
lemon
- E. lemon
x = 12 if x > 10: print("orange") elif x > 0: print("grapefruit") else: print("lemon")
we'll start in
a few
mins !
←
⇒
→
- xouihftexs#to