Important Notice:

Simple Assignment

Simple Assignment

22 views 1 min read
Simple Assignment — 

Simple Assignment, Assignment Statement का सबसे basic (आसान) रूप है। इसमें एक single (अकेली) value को एक single variable में = operator की मदद से रखा (assign किया) जाता है। यह value कोई भी हो सकती है — number, text, decimal, या फिर किसी और variable/expression का result।

English:

 Simple Assignment is the most basic form of an Assignment Statement. In it, a single value is stored (assigned) into a single variable using the = operator. This value can be anything — a number, text, decimal, or the result of another variable or expression.

Syntax (तरीका):

variable_name = value

Example-
a = 10
name = "Suresh"
price = 199.99
is_active = True
 
Output-
10
Suresh
199.99
True

Related Notes