Question #269681

Print a sentence joining the fruit and ripeness variable. Print any sentence that uses this variables (fruit and ripeness)

For example: "That lemon is rotten" or The avocado is ready to eat

Implement this exercise using the .format() method


Expert's answer

fruit = "lemon" 
ripeness = "can not" 
print(f"'That {fruit} is rotten' and I {ripeness} eat that")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS