why does my output show (False, "only", 1, "left") i wanted it without brakets, commas and quotation

When I write

vote_count = 99
target = vote_count == 100, "only", 100 - vote_count, "left"
print(target)

the output shows

(False, 'only', 1, 'left')

my expectation was

False only 1 left 

I tried everything, but it just wouldn’t want to work

>Solution :

Pass the target as args to print.

print(*target)

Leave a Reply