Skip to main content
1 of 2
mbomb007
  • 23.5k
  • 7
  • 63
  • 135

Python 2 (13 chars)

Not sure if this is allowed:

exec(input())

Example of usage:

Input: 'print "Hello World!"'

Output: Hello World!

mbomb007
  • 23.5k
  • 7
  • 63
  • 135