Python Output Not Working

In line 10 of Python script something is wrong. What i want is one single statement that " work is x completed", here x=150. I want x to be of any value but the answer is coming as a list.
Any help will be appreciated as I am absolutely new with python.

Hello @QSZShellie - I think you are looking for the "String".format(x) function :slight_smile:


In this case, the { } is a placeholder that will be replaced by what is inside the parenthesis of the format(stuff) function. If you want to use multiple you can too! It would simply be in the following syntax: "This {} a {}".format("is","test")


Thank You so Much. It worked well.

1 Like