"% S"% a format string of grammar, the basic usage value is inserted into the string% s placeholders.
E.g:
x = "my"
print("you are %s love"%x)
It can be found that %s implements the insertion of x into the string.
def detail1(name,age):
print("Her name is %s."%name)
print("She is %s years old."%age)
object1 = detail1('caroline',19)