Leetcode 8. String to Integer (atoi) Python Solution

preview_player
Показать описание
Full version of this LeetCode solution available on my Udemy course (100 LeetCode videos):
Рекомендации по теме
Комментарии
Автор

Thank you! Best explanation I found =)

daemperador
Автор

more medium questions would be great :)

Mauglus
Автор

UnboundLocalError: local variable 'str' referenced before assignment
str=str.lstrip()
Line 3 in myAtoi (Solution.py)
ret = Solution().myAtoi(param_1)
Line 61 in _driver (Solution.py)
_driver()
Line 72 in <module> (Solution.py)

why I get this error ?

metehand