pattagghiu wrote: binary = bin(int(string,2)) ... However if you still want to work with strings then python slicing will let you do string[::-1] to reverse ...
確定! 回上一頁