you might be able to use an if statement to check if the number is an interger
I am trying to code a function that will accept a list and then return the length of the list times the largest integer (not float) in the list, if the list does not contain an integer, it needs to return an empty string.
I had been trying to use the max function but I cannot work out how to only call for the largest integer not float, or is there a way to sort the list first to only look at integers?
python - is there a function to return the maximum integer but not float from a list