0

How to include library in python and how to describe a variable as a particular data type

In short can someone give me the general outline structure of program in python?....

23rd Oct 2016, 5:16 PM
harish
harish - avatar
1 Odpowiedź
+ 2
to include a library, use the keyword 'import'. in python, there's no need to specify the data type of a variable because python uses dynamic binding. the same variable can be used for any data type you want it to be. an example code import sys print(sys.argv) # prints the command line arguments a=10 print(a) # prints 10 a="hello world" print(a) # prints hello world
23rd Oct 2016, 6:45 PM
akshil
akshil - avatar