elif will need a condition to evaluate, which is missing in ur code.
Use else: if there is no condition.
Also check line #2, using logical OR is not ok .
Corrected code below.
1 joing=input("Whats your name: ")
2 if joing =="Amir" or joing=="Daddy":
3 pas=input("Whats your password: ")
4 elif joing =="xxx" :
5 print ("In elif: :)")
6 else:
7 print("unknown user")