Use a generator expression to iterate over the string. · Use the str.isdigit() method to check if each char is a digit. · Pass the result to the ...
確定! 回上一頁