Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python condition question

print "Enter length"
length = input()
print "Enter breadth"
breadth = input()
if length == breadth:
  print "Yes, it is square"
else:
  print "No, it is only Rectangle"
Comment

PREVIOUS NEXT
Code Example
Python :: Find the length of a nested list in python 
Python :: pandas how to drop rows with extreme values in a single column 
Python :: python string encode 
Python :: head first python by paul barry pdf 
Python :: python seaborn violin plot 
Python :: python in stack implementation 
Python :: rearrange columns pandas 
Python :: how to configure a button in python tkinter 
Python :: python common elements in two arrays 
Python :: defaultdict python dict inside dict 
Python :: how to write if statement in one line python 
Python :: installing intel python 
Python :: twitter api python 
Python :: db connection string timeout 
Python :: requests sessions 
Python :: python get attribute value with name 
Python :: how to scrape data from a html page saved locally 
Python :: pandas bins dummy 
Python :: python regex match 
Python :: join two querysets django 
Python :: how to save frames in form of video in opencv python 
Python :: how does works lamda in pyton 
Python :: how to find python path 
Python :: append dictionary python 
Python :: how to multiply in python 
Python :: python added dictionary together 
Python :: python dictionary with list 
Python :: __repr__ in python 
Python :: proper pagination django template 
Python :: python check characters in utf 8 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =