I am working with some timezone offset stuff and need to do a small change for some math.
The input would look like ex1 "-0500" ex2 "-0400"
Result Should be in integer form
ex1 5 ex2 4
I am pretty new to python and am struggling a bit with this.
Thanks!
https://stackoverflow.com/questions/66728348/converting-string-to-int-with-strange-format-python March 21, 2021 at 10:38AM
没有评论:
发表评论