Here I am trying to store some basic python programming techniques which will help me to build a model in future!!
After installing python 2 or python 3 everyone try to check their python command shell by writing a simple code.. Here it is,
print "hello world!" --for python 2
print("hello world") -- for python 3
or we can write print('hello world')
To indicate a string in python programming we can use both "" or ' ' .
After installing python 2 or python 3 everyone try to check their python command shell by writing a simple code.. Here it is,
print "hello world!" --for python 2
print("hello world") -- for python 3
or we can write print('hello world')
To indicate a string in python programming we can use both "" or ' ' .


Comments
Post a Comment