name =input ("hello how are you ") if name==("good"): print ("Thats nice") else print("stfu") 1

name =input (“hello how are you “) if name==(“good”): print (“Thats nice”) else print(“stfu”)

name =input ("hello how are you ")
if name==("good"):
    print ("Thats nice")

else
    print("stfu")

Here is what the above code is Doing:
1. It asks the user for their name.
2. It checks if the name is equal to “good”.
3. If it is, it prints “Thats nice”.
4. If it isn’t, it prints “stfu”.

Similar Posts