lundi 7 décembre 2020

I am getting an error when I run the function and get it to print the string b [closed]

A = str(input("Enter A: "))
def greeting(A):
    if A == "Jarvis":
        b == "Jarvis at your service sir!"
        print(b)
    else:
        b == "I did not quite get you sir!"
        print(b)
greeting(b)    

Aucun commentaire:

Enregistrer un commentaire