📜  关键字不能是表达式 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:11.348000             🧑  作者: Mango

代码示例1
else: print(name + " sleeps all night and " + name = " works all day!")

#The line below is wrong. You are using "=" sign as if you were assigning name to a new string within the print function. Doesn't work that way.