Financial Transactions
Task
Complete the program to output "accepted" if the card is Visa or Amex. Don't output anything otherwise.
Sample Input
Amex
Sample Output
accepted
type = input()
#your code goes here
if type == "Visa" or type == "Amex":
print("accepted")
Last updated