while using the .format()
with text filling, I encounter this error.
what I have:
tuple = ('a', 'b', 'c')
text = "Hi {} hello {} ola {}"
#command I tried to run
text.format(tuple)
The output I am aiming for:
Hi a hello b ola c
the error I get:
IndexError: tuple index out of range
not sure how to fix this!