Saturday, 19 March 2016

How to use build-in types in Python ?


Numbers
3.1415

Strings
“Hello World”

Lists
[1,2,3,4]

Dictionaries
{‘test’: ‘yum’}

Files
input=open(‘file.txt’, ‘r’)

No comments:

Post a Comment

Note: only a member of this blog may post a comment.