l=["welcome = 0","good morning=1","hello=2"] a=input("Enter user name") print("select greetings") print(l) c=int(input("Enter")) if c == 1 or c==2 or c==0: d=l[c] print(d,a) else: print("invalid")

Built With

Share this project:

Updates