Python Random modulu | Random Module in Python #kody_az
Dərs haqqında
Python proqramlaşdırma dilində istənilən təsadüfi rəqəm əldə etmək üçün və ya təsadüfi qarışıqlıq list data tipinə tətbiq etmək və ya təsadüfən çoxluluqdan bir neçə element seçmək istəyi ehtiyacı varsa o zaman RANDOM moduluna müraciət etmək lazımdır.
Random modulu bir çox maraqlı metodlari ilə zəngindir. Ən çox istifadədə olanlar:
randint()
randrange()
choice()
shuffle()
choices()
sample()
uniform()
random()
=====
Random Module in Python
Python offers random module that can generate random numbers.
These are pseudo-random number as the sequence of number generated depends on the seed.
#python #kody_az #kodyaz #viral #viralcode #viralvideo #random #code #coder #azerbaycan #azerbaijan #azərbaycan #baku #baki #programming #programmer #codes #hazırlıq #hazirliq #kurs #kurslar #course #courses #online #onlinecourses #test #quiz #modules #shuffle #choices #random