Home / MCQ Bank / Computer
Computer Introduction To Python

What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • 4 3 2 1

Related Computer Questions

In C#, what is the purpose of the 'static' keyword for class members? The interactive transmission of data within a time sharing system may be best suited to What is SQL injection? What is the range of values for a 'short int' data type in C++? What is the term used to describe a class that inherits from another class in C++?