#Ex1.py
x=5
y="Rajendra"
print(x)
print(y)
"""output:
5
Rajendra """
#Ex2.py
"""This programs explains the variable
concept"""
a,b,c="vij","hyd","blore"
print(a)
print(b)
print(c)
ouput
vij
hyd
blore
"""Ex4.py"""
a = b = c = "rajendra"
print(a)
print(b)
print(c)
x=5
y="Rajendra"
print(x)
print(y)
"""output:
5
Rajendra """
#Ex2.py
"""This programs explains the variable
concept"""
a,b,c="vij","hyd","blore"
print(a)
print(b)
print(c)
ouput
vij
hyd
blore
"""Ex4.py"""
a = b = c = "rajendra"
print(a)
print(b)
print(c)
output:
rajendra
rajendra
rajendra
No comments:
Post a Comment