when does the str.isdecimal function return true

Str.isdecimal

ns True if decimal numbers(0,1,2,3) present in string otherwise returns False. Decimals numbers are numbers with base 10 in numbers…