Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute Python Online

# Hello World program in Python
import numpy as np
import matplotlib.pyplot as plt
x = np.arange(0, 5, 0.1)
y = np.sin(x)
plt.plot(x, y)
plt.show()







##import numpy as np 
#import matplotlib.pyplot as plt
#a = np.random.randint(1,100, 5)
#b = np.random.randint(1, 100, 5)
#print a
#print "\n"
#print b
#print "\n"
#3plt.plot(a,b)

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.