fork download
  1. forbidden = ('.', ' ', ',')
  2. something = input('Input something: ')
  3. for i in forbidden:
  4. something.replace(i, '')
  5. print(i)
  6. print(something)
Success #stdin #stdout 0.02s 9984KB
stdin
fhs.fhs
stdout
Input something: .
 
,
fhs.fhs