_username = "mask" _password = "a111" username = input("username:") password = input("password:")
if _username == username and _password == password: #若是 _username 等於username 而且 _password 等於 password 執行下面縮進代碼 print('Hello {name}'.format(name=username)) else: #不然執行下面的縮進代碼 print('Invalid username or password !')