Surround the 'z' character with brackets, quotes, and print as formatted string.
Surround the 'z' character with brackets, quotes, and print as formatted string.
Start file
z
End file
print(f"{z}")
View Diff
1c1 < z \ No newline at end of file --- > print(f"{z}") \ No newline at end of file
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 308 remaining solutions by signing in and submitting your own entry
#309 Sery Park / @sisi_with_vim - Score: 85 - 06/13/23 @ 17:12
liprint("<BS>f"{<BS><BS>{"<BS><BS>"{l<BS><Esc>la}")<Esc>:<CR><Down><Down><Down><Down><Down><Down><Down>i<Esc>hhhhhhhhhhhhhhhhhhhhhhhlllllllllllll:WQ<BS><BS>wq<CR>
0 comments