First time here? Check out the FAQ!
answered 7 years ago
This works for me:
print("all {4:{0}.{1}} good {2} eat {3}".format(2,6,"dogs","shoes",x))