fork download
  1. prefixes = 'JKLMNOPQ'
  2. for prefix in prefixes:
  3. suffix = 'uack' if prefix in {'Q', 'O'} else 'ack'
  4. print(prefix + suffix)
Success #stdin #stdout 0.04s 9300KB
stdin
Standard input is empty
stdout
Jack
Kack
Lack
Mack
Nack
Ouack
Pack
Quack