Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

string in python

# The input() Always Return Type == ( String ) 
# So If You Wanna Take Just String Value From The User :-
name = input( "Enter Your Name: " )

if name.isdigit() :
  print( "integer" )
else :
  print( "string" )  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #python
ADD COMMENT
Topic
Name
1+4 =