First time here? Check out the FAQ!
answered 2017-06-04 11:12:17 +0100
This works for me:
print("all {4:{0}.{1}} good {2} eat {3}".format(2,6,"dogs","shoes",x))