Jovian
⭐️
Sign In
In [1]:
import jovian
jovian.commit()
[jovian] Saving notebook..
[jovian] Updating notebook "cb0a9e657cbf40c28e7dfe9e986e9efb" on https://jvn.io [jovian] Uploading notebook.. [jovian] Capturing environment.. [jovian] Committed successfully! https://jvn.io/saboomayank/cb0a9e657cbf40c28e7dfe9e986e9efb
In [2]:
print('Hello World!')
Hello World!
In [3]:
import time
time.sleep(3)
In [4]:
def say_hello(recipient):
    return 'Hello, {}!'.format(recipient)

say_hello('Mayank')
Out[4]:
'Hello, Mayank!'
In [5]:
import numpy as np
def square(x):
    return x*x
In [6]:
x = np.random.randint(1,10)
y =square(x)
time.sleep(5)
print('%d suqared is %d' % (x,y))
7 suqared is 49
In [7]:
print('%d squared is %d' % (x,y))
7 squared is 49
In [8]:
y=10
print('%d squared is %d'%(x,y))
7 squared is 10

Screen%20Shot%202016-02-19%20at%202.34.21%20PM.png