Python for Engineers

Solve Problems by Coding Solutions - A Complete solution for python programming

Blog Pages

▼

Matrix representation and version detailsof Numpy

›
import numpy as np print("\nVersion of Numpy is ",np.__version__) x =  np.arange(25, 50).reshape(5,5) print("\n Matrix rep...

Different Set Operations

›
A = {1,2,3,4,5,6,7,8}; B = {5,10,15,20,25,30,35,40};     print("Union of A and B is",A | B) print("\nIntersection of A and B ...

Use pass for an empty block

›
#Credits to NPTEL MOOC, Programming, Data Structures & Algorithms in #Python by Madhavan Mukund, Chennai Mathematical Insti tute whi...

Check wheather a number is composite or not

›
#Credits to NPTEL MOOC, Programming, Data Structures & Algorithms in #Python by Madhavan Mukund, Chennai Mathematical Insti tute     ...

Divison with multiple conditions

›
#Credits to NPTEL MOOC, Programming, Data Structures & Algorithms in #Python by Madhavan Mukund, Chennai Mathematical Insti tute de...
‹
›
Home
View web version
Powered by Blogger.