已知x为非空列表,表达式random.choice(x) in x的值为______ 。
查看答案
表达式’C:\\windows\\notepad.ext’.endswith(‘.ext’)的值为______ 。
表达式’abc’.ljust(5,’=’)的值为______ 。
已知table=’’.maketrans(‘abcw’,’xyzc’),那么表达式’Hello world’.translate(table)的值为______ 。
表达式r’c:\windows\notepad.exe’.endswith((‘.jpg’,’.exe’))值为______ 。