Tuesday, July 7, 2020

How Randomization of items is done in List of python

How Randomization of items is done in List of python

Randomization of items in python can be done by importing a function called shuffle from the dictionary called random. 

First of all, we create a List. We define the list and then use the shuffle command with the name of the list and thus items in the list are shuffled every time the function is called.

If you are interested to know more about Python, you can mail to smartsubu2020@gmail.com.

 

 

 

SMART SUBU

Author & Editor

Prof. (Dr) Subroto Chowdhury is a Data science and Technology Enthusiast, Independent Research Practitioner, Education Change Motivator, Ethical Investment Advisor and Analytics Consultant.Analytical Exposition interests him as an instrumentation process to make objective understanding of the complex Phenomenon and other decisions. He believes in making education more affordable, easy and pragmatic.

To Know More Click Here