📜  python 在字符串中打印整数 - Python 代码示例

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

代码示例1
num = 12

print(f"Bob has {num} apples.")

#prints: Bob has 12 apples.