for i in range(1,50): path = if i < 10: url + '0' + str(i) else: url + str(i) df = pd.read_html(path)
in this situation, I got
SyntaxError: invalid syntax for 'if'.
how can I fix this code?
Aucun commentaire:
Enregistrer un commentaire