if else inside [] 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