Values and types used in python


>>> n=1,00,000        First example we have seen of a semantic error
 >>> n
(1, 0, 0)
>>> n=12   Integer
>>> n
12
>>> n="hello"        String
>>> n
'hello'
>>> n=" Welcome to show"         Sentence
>>> n
' Welcome to show'
>>> n=3.12            Floating Number
>>> n
3.12