Electron microscopy
 
.isdigit()
- Integrated Circuits -
- An Online Book -
Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

=================================================================================

.isdigit() is to check if all the characters in the text are digits: "False" or "True". Superscript and subscripts (usually written using unicode) are also considered digit characters. The roman numerals, currency numerators and fractions (usually written using unicode) are considered numeric characters but not digits.

============================================

Check if all the characters in the text are digits: code:          
          Check if all the characters in the text are digits
Output:         
          False
          True

          False
          False
          True

          True

         
         
         
         
         
         
         
         
         
         
         
         
         
         
         
         

 

 

 

 

 

 

 

 

 

 

=================================================================================