字符串格式化期间出现问题

我正在学习python。我正在学习用于分配字符的字符串.format方法,但遇到此错误:

 File "<ipython-input-5-ccb10b41da2a>",line 1
    print('the {d} {k} {r}' .format (d='dark' k='knight' r='rises'))
                                              ^
SyntaxError: invalid syntax
servicesp417 回答:字符串格式化期间出现问题

在单词格式后,您在方括号内缺少逗号。试试这个

flutter run -d web-server --web-hostname=192.168.50.147 --web-port=5624 --local-engine=host_debug_unopt --profile -v lib\pages\splash.dart
本文链接:https://www.f2er.com/3130235.html

大家都在问