Examlex

Solved

What Is the Output of the Following Code

question 29

Multiple Choice

What is the output of the following code?
Sum = 0
For value in range(1,4) :
Sum += value
Print(sum)


Definitions:

Mimicking Conversation

The act of imitating or reproducing a dialogue or discourse in a way that closely resembles the original conversation.

Instant Messaging

A form of real-time communication between two or more people based on typed text, images, video, or audio over the internet or other networks.

Blogging

The activity of writing or publishing personal or professional content on a website in a conversational style.

Content Sharing Sites

Online platforms where users can upload, share, and view various forms of media content.

Related Questions