if inside condition python code example Example: Can there be an if statement inside an if statement python You can use if statments in if statments. It's all good