python

Python

It is an interpreted programming language.

type()

This function determine the type of the parameter.

Example

>>> type(1)
<type 'int'>

str()

This function convert the parameter into a string.

Example

>>> str(1)
'1' 

len()

This function determines the lenght (amount of characters) within the parameter

Example

>>> len("Alejandro")
9

print()

This function prints the parameter

Subscribe to RSS - python