Coders Packet

Randomize matrix generator contains odd numbers or even number using Python

By Mohamed Riyaz z

My project will generate a randomized matrix in Python. The matrix contains odd numbers or even numbers based on the user's choices it will generate.

My project will get the input for matrix-like several rows and columns. It will automatically generate the numbers for the matrix. The matrix having either odd numbers or even numbers in the matrix by the user's choice. If the user enters"1", it will generate odd numbers of matrix or if a user enters"2", it will generate the even numbers of the matrix. if the user enters the wrong number it will shows "Enter a valid number".A randomized matrix will be generated from 0 to n. So, the matrix can be generated using user choice.

Download Complete Code


No comments yet