Ad
Code
Diff
  • def hello_world(world):                                                                                                                                                                                   
        return "Hello World baby" if world else "No World"                                                                                                                                                                                                      
                                                                                                                                                                                                              
                                                                                                                                                                                                              
                                                                                                                                                                                                              
                                                                                                                                                                                                              
    
    
    
    
    • def hello_world(world):
    • if world == True:
    • return "Hello World baby"
    • elif world == False:
    • return "No World"
    • def hello_world(world):
    • return "Hello World baby" if world else "No World"