PYTHON:expected an indented block
在打CTF的过程中会用到Python来进行字符转换处理,在使用循环的时候发现系统报错如下
IndentationError: expected an indented block
经查找资料发现是Python的语言特性问题,在冒号之后的语句应进行缩进。由此问题得到解决。
参考资料:https://blog.csdn.net/neilhappy/article/details/7724959
...
原创
2019-08-01 16:10:01 ·
885 阅读 ·
0 评论