fork download
  1. a = [
  2. "TRAFALGAR LAW",
  3. "You shall not be the pirate king.",
  4. "MONKEY D LUFFY",
  5. "Now!",
  6. "DOFLAMINGO'S UNDERLINGS:",
  7. "Noooooo!",
  8. ]
  9.  
  10. for s in a:
  11. print s.isupper()
Success #stdin #stdout 0.02s 6972KB
stdin
Standard input is empty
stdout
True
False
True
False
True
False