+ 1
how to make this work
3 Answers
+ 6
message="Hello:{0} {1}".format(name[0], name[1])
+ 1
A different way
name=["Vivian"," Anoemuah"]
print(f"hello:{name[0]} {name[1]}")
0
Vivian Anoemuah, a simple google search can help:
https://stackoverflow.com/questions/9969684/how-do-i-add-space-between-two-variables-after-a-print-in-JUMP_LINK__&&__python__&&__JUMP_LINK
https://www.geeksforgeeks.org/how-to-print-spaces-in-python3/amp/
https://stackoverflow.com/questions/24947058/simple-adding-spaces-between-variables-in-python3