<AptiCode/>

Question 407: What is the purpose of theifstatement?

tcs
wipro
infosys
general
aptitude
conditional-statements
python-programming

Theifstatement is used to make decisions in Python. It allows you to execute a block of code if a certain condition is true.