Advertisement
31ph4n70m

reverse_string.d

Nov 19th, 2019
3,759
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.16 KB | None | 0 0
  1. // D solution to codeabbey challenge 30
  2. import std.stdio, std.range;
  3.  
  4. void main(){
  5.     string inp = readln();
  6.     auto t = inp.retro.array;
  7.     writef(t);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement