Skip to main content
1 of 2
Sp3000
  • 61.9k
  • 13
  • 115
  • 287

Python, 44 bytes

lambda s:s[:-1]+" /\.\/"[ord(s[-1])%10%3::3]

Replaces the last character with the correspond set of two characters. ideone link

Sp3000
  • 61.9k
  • 13
  • 115
  • 287