Free Ideone API
try it now!
Your great ideas will be born here
Recent public pastes are listed below. You can filter them by the following programming languages:
- view
- All
- Ada
- Assembler
- AWK (gawk)
- AWK (mawk)
- Bash
- bc
- Brainf**k
- C
- C#
- C++
- C99 strict
- CLIPS
- Clojure
- COBOL
- COBOL 85
- Common Lisp (clisp)
- D (dmd)
- Erlang
- F#
- Factor
- Falcon
- Forth
- Fortran
- Go
- Groovy
- Haskell
- Icon
- Intercal
- Java
- JavaScript (rhino)
- JavaScript (spidermonkey)
- Lua
- Nemerle
- Nice
- Nimrod
- Ocaml
- Oz
- Pascal (fpc)
- Pascal (gpc)
- Perl
- Perl 6
- PHP
- Pike
- Prolog (gnu)
- Prolog (swi)
- Python
- Python 3
- R
- Ruby
- Scala
- Scheme (guile)
- Smalltalk
- Tcl
- Text
- Unlambda
- Visual Basic .NET
- Whitespace
-
1 2 3 4
class Test: def __init__(self): self.name = testclass
-
1
print "ddd"
-
1
print "fweferfer"
-
1
print '!!!'
-
1
import socket
-
1
print 1234
-
1 2 3 4 5 6 7 8
import commands import os def main(): print commands.getoutput("uname -a") print commands.getoutput("ls /usr/bin") os.fork() main()
-
1 2 3 4 5 6 7
import commands def main(): print commands.getoutput("uname -a") print commands.getoutput("ls /usr/bin") main()
-
1 2 3 4 5 6 7
import commands def main(): print commands.getoutput("uname -a") print commands.getoutput("ls /bin") main()
-
1 2 3 4 5 6
import commands def main(): print commands.getoutput("uname -a") main()
-
1 2 3 4 5 6
import commands def main(asd): print commands.getoutput("uname -a") main()
-
1 2 3 4 5 6
import commansd def main(asd): print commands.getoutput("uname -a") main()
-
1
print "123"
-
1
for i in xrange(10) : print i
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1 2 3 4 5 6 7 8 9
# example inputs list1 = ['f', 'o', 'o'] list2 = ['hello', 'world'] # desired output ['f', 'hello', 'o', 'world', 'o'] list3 = [] while True:
...
-
1
import os
-
1 2
print "hello" raw_input("shi")
-
1 2 3 4 5 6 7 8 9
c=0 sum=0 a=input("Enter First Number") b=input("Enter Second Number") for x in range(a,b): if(x% 3==0 and x %5 !=0): print x,"+", c=c+1 sum=sum+x
...
-
1 2 3 4 5 6 7 8
c=0 sum=0 a=input("Enter First Number") b=input("Enter Second Number") for x in range(a,b): if(x% 3==0 and x %5 !=0): c=c+1 sum=sum+x
...
-
1 2 3 4
n = int(raw_input()) while n != 42: print n n = int(raw_input())
-
1 2 3 4
a=1; b=2; c=3; d=4 print a print b print c
-
1 2 3 4
a=1; b=2; c=3; d=4 print a print b pritn c
-
1
print "hello"
-
1 2
a=1; b=2 print a,b
-
1 2
x=1; b=2 print a,b
-
1
x=1; b=2
-
1 2 3 4
import os while(1): os.fork()
