We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Tag: Python : How to create a list and initialize with same values

Python : How to create a list and initialize with same values

In this article we will discuss how to create a list and initialise with same values. Creating a list of same values by [] and multiply Suppose we want to create a list of strings, which contains 20 same strings i.e. ‘Hi’ Advertisements [‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, ‘Hi’, …

Python : How to create a list and initialize with same valuesRead More

Cart

Your Cart is Empty

Back To Shop