> I have question  if we make if statement inside if  like cprogramming below 
> how to do  in python

Indentation is the key here. It is very simple.

x=1
y=2

if x == 1:
   print "inside first if"
   if x == 2:
      print "inside second if"

--
Senthil
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to