【发布时间】:2018-03-01 20:57:10
【问题描述】:
我对编码非常陌生,我想尝试使用 Python 创建一个 MadLib。我已经创建了输入,但我不知道如何将多个变量添加到一种打印语法中。
print("Suddenly he grabs me. tipping me across his", bodyPart1, adj1 "movement, he angles his", noun1 "so my", bodyPart2 "is resting on the", noun2 "beside him")
【问题讨论】:
-
我认为你只是少了几个逗号
-
你有碎片;唯一的问题是语言语法的细节。你被困在哪里了?
标签: python