In [ ]:
# conditional flow
# if .. elif .. else
In [1]:
print 5 > 2 # condition
In [2]:
print 2 > 5 # condition
In [3]:
print type(True)
print type(False)
In [4]:
if 5 > 2:
print "5 is greater than 2"
In [6]:
if 2 > 5:
print "2 is greater than 5"
else:
print "2 is lesser than 5"
HOw to set up your .vimrc file for vi or vim create the file under your home directory
tcloudost@tcloudost-VirtualBox ~ $ cat .vimrc syntax on set nu set tabstop=2 set expandtab set autoindent tcloudost@tcloudost-VirtualBox ~ $