Python Multiple Choice Questions - Part 1
In this article, we test our Python programming knowledge by going over 50 Multiple choice questions.
1. What is the output of the code;
>>> str = "linux"
>>> str[:3]
>>>
(a) linux
(b) inu
(c) lin
(d) error
Ans: (c)
Explanation: The above code retur...
linuxnotes.hashnode.dev13 min read