In [ ]:
# conditional flow
# if .. elif .. else

In [1]:
print 5 > 2  # condition


True

In [2]:
print 2 > 5 # condition


False

In [3]:
print type(True)
print type(False)


<type 'bool'>
<type 'bool'>

In [4]:
if 5 > 2:
    print "5 is greater than 2"


5 is greater than 2

In [6]:
if 2 > 5:
    print "2 is greater than 5"
else:
    print "2 is lesser than 5"


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 ~ $