Cameron Simpson <c...@cskk.id.au> writes: <snip> > ... In Python 3 we have "format strings", which let you write: > > name = "Sharon" > age = 35 > print(f"The person named {name|r} is {age} years old.")
You meant {name!r} I think there. -- Ben. -- https://mail.python.org/mailman/listinfo/python-list