Python Libraries और Files क्विज़

Python की standard library से काम लें. Modules import करें, math, random, datetime और collections use करें, और files को safely पढ़ें और लिखें.

इंटरमीडिएट 5 क्विज़ · 50 सवाल लगभग 30 मिनट
0/5पास कैटेगरी एग्ज़ाम 20 मिले-जुले सवाल। 80% पर सर्टिफ़िकेट।
टैग:
1 Modules और Imports आसान देखिए कि Python में import, from ... import और aliases कैसे काम करते हैं. #modules#imports 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
2 math और random आसान math से rounding, powers और square roots, और random functions क्या-क्या return कर सकते हैं. #math#random#standard-library 10 सवाल · ~5 मिनट शुरू नहीं किया शुरू करें
3 Files पढ़ना और लिखना मीडियम with statement और सही mode के साथ text files खोलें, लिखें, append करें और पढ़ें. #files#with-statement 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
4 datetime मीडियम datetime module से dates और times बनाएँ, format करें, parse करें और उन पर arithmetic करें. #datetime#standard-library 10 सवाल · ~6 मिनट शुरू नहीं किया शुरू करें
5 collections कठिन Counter, defaultdict, deque और namedtuple use करें, और उनके चौंकाने वाले behaviours जानें. #collections#standard-library 10 सवाल · ~8 मिनट शुरू नहीं किया शुरू करें