Skip to main content
Commonmark migration
Source Link

#2. V (11 bytes)

2. V (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in V.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in V. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try V online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

#2. V (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in V.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in V. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try V online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

2. V (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in V.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in V. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try V online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

deleted 8 characters in body
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

#2. VimV (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in VimV.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in vimV. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try vimV online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

#2. Vim (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in Vim.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in vim. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try vim online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

#2. V (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in V.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in V. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try V online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

lol
Source Link
hyperneutrino
  • 42.6k
  • 5
  • 68
  • 224

#2. Vim (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in Vim.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in vim. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try vim online here

Of course, in python

print(1)

prints '1', and

#2#i2

is a comment.

#2. Vim (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in Vim.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in vim. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try vim online here

Of course, in python

print(1)

prints '1', and

#2

is a comment.

#2. Vim (11 bytes)

print(1)#i2

This program prints 1 in Python 3, and 2 in Vim.

Just to get the ball rolling and to throw my favorite language into the mix early on. :)

It's a very straightforward answer.

print(1)#

just so happens to be a NOP in vim. (lucky for me) Then i2 enters insert mode and inserts a '2'. You can try vim online here

Of course, in python

print(1)

prints '1', and

#i2

is a comment.

let's get the older language names out of the header before it becomes unmanageably large :-)
Source Link
user62131
user62131
Loading
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348
Loading