Docsity

Basics of python in data science, Lecture notes of Data Mining

Toggle sidebar
bg1
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> a=10
>>> a
10
>>> a=10222222222
>>> a=-22235
>>> a
-22235
>>> a=122369999999999999
>>> a
122369999999999999
>>> b=20.366966
>>> b=20.3633333333333333333545
>>> b
20.363333333333333
>>> c=2+6J
>>> d=2+3j
>>> d
(2+3j)
>>> c
(2+6j)
>>> type(c)
<class 'complex'>
>>> type(a)
<class 'int'>
>>> type(b)
<class 'float'>
>>>

Partial preview of the text

Download Basics of python in data science and more Lecture notes Data Mining in PDF only on Docsity!

Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)] on win Type "help", "copyright", "credits" or "license()" for more information.

a= a 10 a= a=- a

a= a 122369999999999999 b=20. b=20. b

c=2+6J d=2+3j d (2+3j) c (2+6j) type(c) <class 'complex'> type(a) <class 'int'> type(b) <class 'float'>