#!/usr/bin/python #coding=utf-8 #好好学习,天天向上 def describe_pet(type,name): print(f"i have a {type};") print(f"my {type}'s name is {name}!") describe_pet(type="dog",name="peter")