Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
>>> round(5.3456, 1)
5.3
>>> round(5.3456, 2)
5.35
>>> round(5.3456, 3)
5.346
>>> round(5.3456)
5.0
>>> abs(-1)
1
>>> abs(-10)
10
>>> abs(-10.0)
10.0
>>> abs("hello")
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
TypeError: bad operand type for abs(): 'str'
>>> bool(10)
True
>>> bool("hello")
True
>>> long(45)
45L
>>> long(3.45)
3L
>>> long("3.45")
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
ValueError: invalid literal for long() with base 10: '3.45'
>>> long("3455656545")
3455656545L
>>> input("enter something: )
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
EOL while scanning string literal: <string>, line 1, pos 25
>>> input("enter something: ")
enter something: 10*2
20
>>> input("enter something: ")
enter something: 10-34
-24
>>> input("enter something: ")
enter something: abs(10-34)
24
>>> import math
>>> input("enter something: ")
enter something: math.sqrt(34)
5.830951894845301
>>> input("enter something: ")
enter something: hello
Traceback (most recent call last):
  File "C:\Program Files\Wing IDE 101 3.2\src\debug\tserver\_sandbox.py", line 1, in <module>
    # Used internally for debug sandbox under external interpreter
  File "C:\<string>", line 1, in <module>
NameError: name 'hello' is not defined
>>> hello = 10
>>> input("enter something: ")
enter something: hello + 1
11
>>> sqrt(34)
Traceback (most recent call last):
  File "<string>", line 1, in <fragment>
NameError: name 'sqrt' is not defined
>>> from math import *
>>> sqrt(34)
5.830951894845301
>>> pi
3.141592653589793
>>> e
2.718281828459045
>>> from time import *
>>> time()
1297764570.093
>>> time()
1297764576.015
>>> import random
>>> random.randint(0, 10)
1
>>> random.randint(0, 10)
5
>>> random.randint(0, 10)
10
>>> random.randint(0, 10)
7
>>> random.randint(0, 10)
8
>>> random.randint(0, 10)
4
>>> random.randint(0, 10)
6
>>> random.random()
0.6315777495828968
>>> random.random()
0.24767863768665377
>>> random.random()
0.34808698910541946
>>> random.random()
0.9731906491954749
>>> random.random()
0.177865449152544
>>> random.random()
0.863010798279032
>>> random.random()
0.48798878614175156
>>> random.random()
0.37409233925488317
>>> random.random()
0.7068753392864103
>>> random.uniform(3, 8)
7.7154833447630615
>>> random.uniform(3, 8)
6.732797921164636
>>> random.uniform(3, 8)
6.441381486890681
>>> random.uniform(3, 8)
3.833371070160554
>>> random.uniform(3, 8)
6.780898020740547
>>> 