Pythonのlstripの挙動についてなんかおかしいと思ったら勘違いだったようなのでメモ。 で /home/testuser/ を文字列から取り除く ...
>>> exec("n=2;d_={}\nfor i in range(n):locals()[f'a{i}_']=cb.paste().rstrip();z_=input(f'next_{n-1-i}')\nfor i in range(2):d_|=[dict([[f'columns_{i}',x]]) for x in ...
As far as I was concerned about lstrip and rstrip functionality back in 2016-2018, such method was stripping starting from left or right (respectively) the matching pattern into a string, until such ...