fork download
  1. names = ["Rhonda", "Ryan", "Red Rackham", "Paul"]
  2. if all(c[0] == "R" for c in names):
  3. print "ALL MATCH"
  4.  
  5.  
  6. names = ["Rhonda", "Ryan", "Red Rackham", "Raul"]
  7. if all(c[0] == "R" for c in names):
  8. print "ALL MATCH"
Success #stdin #stdout 0.01s 7692KB
stdin
Standard input is empty
stdout
ALL MATCH