Python Python Basics (2015) Python Data Types Use .split() and .join()

Anton Forsvall
Anton Forsvall
3,864 Points

What am i doing wrong?

Hello! The Bummer says : "Remember to reassign the menu variable with your joined string." Can anyone help me?

Thanks!

banana.py
available = "banana split;hot fudge;cherry;malted;black and white"
sundaes = available.split(";")
menu = "our available flavors are: {}." + ", ".join(sundaes).format(available)

1 Answer

Jose Lopez
Jose Lopez
4,615 Points

You can't do .join().format()