Python fundamentals practice set 2: output questions

पायथन फंडामेंटल्स प्रैक्टिस सेट 2

15 questions · 15 minutes · Medium · मध्यम · For IT / Tech jobs, Campus placement exams

Fifteen 'what does this print?' questions on lists and slicing, range, operator precedence, rounding, comprehensions, *args/**kwargs, zip, try/finally, int() bases and generators. Every answer was checked by running the code in Python 3.

How do you want to practise?

See if each answer is right, with the explanation, before moving on. No timer.

Loading…

More practice

All practice sets →