Python3 String Isdecimal
# Python3.x Python3 isdecimal() Method
[ Python3 Strings](#)
* * *
## Description
The isdecimal() method checks whether all characters in a string are decimal characters.
## Syntax
The syntax for the isdecimal() method is:
str.isdecimal()
## Parameters
* None
## Return Value
* **True** - If all characters in the string are decimal characters.
* **False** - If at least one character is not a decimal character.
## Example
The following examples demonstrate the usage of the isdecimal() function:
## Example
#!/usr/bin/python3
str="tutorial2016"
print(str.isdecimal())
str="23443434"
print(str.isdecimal())
The output of the above examples is as follows:
FalseTrue
* * Python3 Strings](#)
YouTip