📌  相关文章
📜  python代码示例中的f'{}'

📅  最后修改于: 2022-03-11 14:45:48.984000             🧑  作者: Mango

代码示例1
#takes age as input
age=input("Enter your age: ")
#prints the input of age with a formatted string
print(f'You are {age} years old!')