How to check if all list elements are numbers? · In a list comprehension, for each element in the list, check if it's an integer using the isinstance() function.
確定! 回上一頁