seed(a=None), Initialize the random number seed, the default value is the current system time., random(), Generate a random decimal between [0.0,1.0)., randint(a,b), Generate an integer between [a,b]., getrandbits(k), Generate a random integer of length k bits., randrange(start,stop[,step]), Generate a random integer between [start, stop) with step as the number of steps., uniform(a,b), Generate a random decimal between [a,b]., choice(seq), Returns a random element from a sequence type (e.g., a list)., shuffle(seq), Randomly arrange the elements in the sequence type and return the shuffled sequence., sample(pop,k), Randomly select k elements from the pop type and return them as a list type.
0%
Random functions
Udostępnij
Udostępnij
autor:
Nanyuru0709
University
python
Edytuj elementy
Zapisz
Polub
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Połącz w pary
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Bardziej tak
Random Number 1-6
autor:
Sbattaglia
Koło fortuny
15
Dice random
autor:
Dimoxa285
Koło fortuny
8
spin random number
autor:
Niyazzikry
Koło fortuny
8
random number
autor:
Strongkatee
Koło fortuny
6
Random number selector 1-31
autor:
Mscialdone
Koło fortuny
7
Randomizer
autor:
Alexandraneverr
Koło fortuny
6
Random Object Generator
autor:
Nemece1
Koło fortuny
9
Starter random numbers
autor:
Takamiyoku
Losowe karty
12
Zmień szablon
Pokaż wszystko
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?