PYTHON: A data structure you should know—Dictionary

1. What is a dictionary data structure? You may hear about Hash Map in other programming languages. The same concept in python is called the dictionary. Dictionaries are used to store data values in key and value pairs. The advantage of the way key-value storing makes the search very fast especially compared to the way […]

PYTHON:  From Random Module To The Dice Game

1. Random Module In python, the function random() can not be directly called. However, we need to import a random module and generate random numbers by calling the static method. By importing this random module, it implements pseudo-random number generators for various distributions.

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
error: Content is protected !!