Question: 1 flowers = { white : lily, red: rose, blue: carnation, yellow: buttercup } 2 colors = list ( flowers . keys (
flowers white: "lily",
"red": "rose",
"blue": "carnation",
"yellow": "buttercup"
colors listflowerskeys
colors.sort
showcolors "Colors of flowers:
for color in colors:
showcolors color
printshowcolors
pickcolor inputEnter a color:
pickcolor pickcolor.lower
if pickcolor in flowers:
Sname flowerspickcolor
printFlower name: name
else:
printThere is no pickcolor flower."
What will the print statement on line display
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
