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
शेयर
शेयर
Nanyuru0709
द्वारा
University
python
कंटेंट को एडिट करें
प्रिंट
एम्बेड
अधिक
कार्य
लीडरबोर्ड
अधिक दिखाएं
कम दिखाएं
यह लीडरबोर्ड अभी निजी है।
शेयर
पर क्लिक करें इसे सार्वजनिक करें।
इस लीडरबोर्ड को रिसोर्स ओनर ने डिसेबल कर दिया है।
यह लीडरबोर्ड डिसेबल है क्योंकि आपके विकल्प रिसोर्स ओनर से अलग हैं।
पूर्वस्थिति विकल्प
मिलता-जुलता खोजे
एक ओपन एंडेड टेम्पलेट है। यह लीडरबोर्ड के लिये स्कोर उत्पन्न नहीं करता है।
लॉग ईन आवश्यक
दृश्य शैली
फ़ॉन्ट
सदस्यता आवश्यक है
विकल्प
टेम्पलेट स्विच करें
सभी दिखाएं
खुले परिणाम
लिंक कॉपी करें
क्यूआर कोड
डिलीट
ऑटो-सेव पुनःस्थापित करें:
?