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
fruit = "lemon"
ripeness = "can not"
print(f"'That {fruit} is rotten' and I {ripeness} eat that")
Comments
Leave a comment