+ 4
List Items - Cleaning Up the List
Good Morning Everyone, I am trying to print a message without the apostrophes and brackets. The desired output is as follows: Good afternoon Tom, Andrew, Eric, Dale. The code is below: friends_list = ['Tom', 'Andrew', 'Eric', 'Dale'] message = f"Good afternoon {friends_list}." print(message) What am I doing wrong here? Thanks in advance!
4 Antworten