import numpy as np matrix = [[1,2,3], [4,5,6], [7,8,9]]
import numpy as np random_arr = np.random.randint(1,50,9)
import numpy as np random_arr = np.random.randint(1,50,9) mat1 = ran.reshape(3,3)
#!/usr/bin/python import boto
import os def list_files_folders(path):
import os env = os.environ
import os print os.uname() # Don't use os.system('uname -a'), its j
def file_stats(path): f = open(path, 'r') lines = f.readlines()
def get_double(num): return num * 2
print "Welcome to python"
a=input("Enter a value:") if (a%2==0): print "The given number is even numb
a=input("Enter a value:") k=0 b=(a/2)+1
import sys x=len(sys.argv) a=[]
a = [1,43,98,5]#Dummy data for l in range(len(a)-1): if (a[l]>a[l+1]):
n=100 a=[10,20,30,40,50] b=[60,70,80,90]
n=input("Enter the constraint to print n m=input("Enter the maximum value to prin a=0
import random print random.uniform(10,500)
import random; z = [1,90,4,2] z = random.shuffle(z)
import requests req = requests.get("https://httpbin.org/
0 Comments
Please Login to Comment Here