为什么: Cell In1 line 30 impact_factor_url = fhttpswwwscijournalorgimpact-factor-of-journal_sep_regexsub- journal_nameupperrstripshtml ^ IndentationError expected an indented block after functio
这个错误是因为在函数定义的下一行没有缩进。Python需要使用缩进来区分代码块,所以在函数定义后,下一行必须缩进,否则会出现IndentationError。解决方法是在函数定义后缩进下一行。
原文地址: https://www.cveoy.top/t/topic/bF7j 著作权归作者所有。请勿转载和采集!