Data Types in python
in
LINUX,
PROGRAMMING,
WINDOWS
- on 12:15
- No comments
Python supports four different numerical types:
int (signed integers)
long (long integers [can also be represented in octal and hexadecimal])
float (floating point real values)
complex (complex numbers)
Its used like this:
a=long(input())
a=int(input())
a=float(input())
a=complex(input())


Post a Comment