Python for Engineers
Solve Problems by Coding Solutions - A Complete solution for python programming
Blog Pages
(Move to ...)
Code
Top 10 Blogs
NumPy Tutorials
Distributions
Self Learning
IDE
About
▼
Mathematical operators on Numpy Array and List
›
import numpy as np a = np.array([1, 2, 3]) print(type(a)) print('Numpy Array:\n',a) print('Addition of Numpy Arr...
To check the number is composite number or not
›
n=int(input('Enter the number ')) factor=0 for i in range(1,n): if n%i==0: factor=i if factor>1: print ('The nu...
Statistical and Extrema operations on Numpy Array
›
import numpy as np x = np.array([11, 13, 121, 181, 99, 100]) print('Numpy Array Elements',x) print ('Minimum Value in array'...
Elementwise sum of two array elemets
›
import numpy as np x = [[11,22],[33,44]] y = [[55,66],[77,88]] x1 = np.array([[11,22],[33,44]], dtype=np.int32) y1 = np.array([[55,66],[77,8...
Datatypes in Numpy
›
import numpy as np x = np.array([101, 202]) print(x.dtype) x = np.array([11.75, 21.75]) print(x.dtype) x = np.arr...
‹
›
Home
View web version