example 1:
print('3'+'5')
a='3'
b='5'
c=a+b
print(c)
print(type(c))
output:
35
35
<class 'str'>
example 1:
Favoritecolor="red"
favoritecolor="yellow"
print(Favoritecolor,"\n",favoritecolor)
output:
red
yellow
print('3'+'5')
a='3'
b='5'
c=a+b
print(c)
print(type(c))
output:
35
35
<class 'str'>
example 1:
Favoritecolor="red"
favoritecolor="yellow"
print(Favoritecolor,"\n",favoritecolor)
output:
red
yellow
No comments:
Post a Comment