Python Basics
¶
In [3]:
s
=
"abc"
print
(
s
)
abc
In [4]:
print
(
len
(
s
))
3
In [5]:
s
Out[5]:
'abc'
Python Basic Data Types
¶
numbers: integers and decimal 24, 45, -22, 4.67
character: 'a', '+'
strings: 'abc' 'Tony' 'Computer Science'
boolean: True, False
In [ ]: