【问题标题】:TYPE FUNC FOR STRINGS [closed]字符串的类型函数[关闭]
【发布时间】:2022-09-22 21:54:15
【问题描述】:

我收到此错误..当我尝试在数组中使用字符类型函数时..你能帮我解决它吗..?我做什么?

enter image description here

标签: python arrays


【解决方案1】:
aListWithStrings = ['string1', 'string2', 'string3']

这是你想要的吗?

【讨论】:

  • 琴弦在哪里?也只需使用列表文字并使用下划线在变量名中添加空格
猜你喜欢
  • 1970-01-01
  • 2017-03-03
  • 2021-10-28
  • 2013-01-20
  • 2014-08-15
  • 2021-07-18
  • 2021-09-20
  • 1970-01-01
  • 2022-01-21
相关资源
最近更新 更多