Python : string.rstrip(). rstrip(char_set) removes all characters in char_set from the right side of a string: #!/usr/bin/python3 txt = 'msd45q63v742' ...
確定! 回上一頁