Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Python matrices without numpy

I’m trying to learn how to operate on python matrices but it’s difficult since online I’m finding nothing but numpy library and it is forbidden to use it on exams, so, do you have any suggestions on where to find a book, a pdf or a site where I can learn more without using numpy??

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

If I couldn’t use numpy I would use bidimensional lists for matrices.

Example:

a = [[1, 2, 3], [4, 5, 6]]

A list that contains list elements that contains numbers.

Numpy is more efficient and if you don’t have experience with programming languages like c or c++ some operations could be difficult to implement.

There are a lot of websites to learn with lists, this is a beginner one with clearly and runnable code: https://snakify.org/en/lessons/two_dimensional_lists_arrays/

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading