fork download
  1. x = 12345
  2. y = str(x)
  3. new_var = ''
  4. for char in y:
  5. if char == "2" or char == "3":
  6. new_var += char
  7. print(new_var)
Success #stdin #stdout 0.03s 9984KB
stdin
Standard input is empty
stdout
23