Recent public codes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C++0x
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- Java7
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Objective-C
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- SQL
- Tcl
- Text
- Unlambda
- VB.NET
- Whitespace
-
1
print (range(5))
-
1
print range(5)
-
1 2 3 4 5 6 7 8 9
import sys def submissions(infile): for line in infile: if line.count(":") == 0: continue name, sn = line.split(":") yield (name.strip(), int(sn.strip())) def rip(infile): subs = sorted(submissions(infile), key=lambda x: x[1], reverse=True) print("[hide=\"Round X Submissions\"]")
...
-
1 2 3
fav_movies = ["Tron", "Tron 2", "Tron 3"] for each_flick in fav_movies: print(each_flick)
-
1 2 3
fav_movies = ["Tron", "Tron 2", "Tron 3"] for each_flick in fav_movies: print(each_flick)
-
1 2 3
fav_movies = ["Tron", "Tron 2", "Tron 3"] for each_flick in fav_movies: print(each_flick)
-
1 2 3 4 5 6 7 8 9
line = "101;Johnny 'wave-boy' Jones;USA;8.32;Fish;21" s = {} (s['id'], s['name'], s['country'], s['average'], s['board'], s['age']) = line.split(';') print('ID: ' + s['id']) print('Name: ' + s['name']) print('Country: ' + s['country']) print('Average: ' + s['average'])
...
-
1
print(123)
-
1 2
a = "This is one {1} and one {1}".format('blah','weee') print (a)
-
1 2
a = "This is one {1} and one {1}".format('blah','weee') print a
-
1 2 3
print 'wewe' a = "This is one {1} and one {1}".format('blah','weee') print a
-
1
a = "This is one {1} and one {1}".format('blah','weee')
-
1
print ("Hi")
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/env python #-*- coding: utf-8 -*- # To change this template, choose Tools | Templates # and open the template in the editor. if __name__ == "__main__": ile = int(input())
...
-
1 2 3 4 5 6 7 8 9
#!/usr/bin/env python #-*- coding: utf-8 -*- # To change this template, choose Tools | Templates # and open the template in the editor. if __name__ == "__main__": ile = int(input())
...
-
1 2 3 4 5 6 7 8 9
#Love Test 1.0 by Daniel Cunha Rêgo #www.mundodcr.in #(CC) Please, don't redistribuite this code withot giving the atributtion to www.mundodcr.in #Python 3.2 #05/19/2011 from random import randint import time
...
-
1 2 3 4 5 6 7 8 9
def factorial(n): if n == 0: fact = 1 while n : fact = fact * n n = n - 1 return fact count = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
def factorial(n): if n == 0: fact = 1 while n : fact = fact * n n = n - 1 return fact count = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
def factorial(n): while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
def factorial(n): while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
def factorial(n) while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
function factorial(n) while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
def factorial(int n) while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5 6 7 8 9
function factorial(int n) while n : fact = fact * n n = n - 1 return n count = int(raw_input()) while count: n = int(raw_input())
...
-
1 2 3 4 5
a = input() a = int(a) b = input() b = int (b) a-b
-
1 2 3 4 5
a = input() a = int(a) b = input() b = int (b) a-b
-
1 2 3
a = int(raw_input()) b = int(raw_input()) a-b
-
1 2 3
a = int(raw_input()) b = int(raw_input()) print a-b
-
1 2 3
a = int(raw_input()) b = int(raw_input()) a-b
-
1 2 3
a = integer(raw_input()) b = integer(raw_input()) a-b


