📜  godot variablen einen wert hinzufügen - Python 代码示例

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

代码示例1
# Define a format string with placeholder '%s'
var format_string = "We're waiting for %s."

# Using the '%' operator, the placeholder is replaced with the desired value
var actual_string = format_string % "Godot"

print(actual_string)
# Output: "We're waiting for Godot."