Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 41899

For challenges involving code that runs in multiple programming languages.

44 votes

The Versatile Integer Printer

Python 1.x, 2.x and 3.x, 32 bytes / 3^3 = 1.1851... import sys print(sys.version[0]) Prints the first number of the version, which is 1 in Python 1.x, 2 in Python 2.x and 3 in Python 3.x. By the tim …
Community's user avatar
  • 1
6 votes

The Versatile Integer Printer

Subskin, Brainfuck and Fob 27 bytes / 3^3 = 1 0#>&$3#<>$-[----->+<]>-. 31 Subskin 0 31 We set the instruction pointer (doesn't matter here) to 0 and the output register to 31. If the contents o …
sweerpotato's user avatar
  • 2,497