from __future__ import print_function
a=1;b=3;
s="abc";
c="abc";
s="\s";
s=[1,2,3,5];
print(s);
s=(1,2,3,5);
#immutables[1]=s;
print(s);
s='abc';
#s[2]='a'; immutable
print(s[2]);
s={'a':1,'b':2}
print(s);
print(10+20);
print(10+20.5);
print(10*20.5);
print(10/20.5);
print('a',s);
a=10;
float(a);
print('pratik','aaa',sep='@')
if s==c:
print("yes")
else :
print("no")
for i in range(1,11):
print(i)
if i == 5:
break
a=1;b=3;
s="abc";
c="abc";
s="\s";
s=[1,2,3,5];
print(s);
s=(1,2,3,5);
#immutables[1]=s;
print(s);
s='abc';
#s[2]='a'; immutable
print(s[2]);
s={'a':1,'b':2}
print(s);
print(10+20);
print(10+20.5);
print(10*20.5);
print(10/20.5);
print('a',s);
a=10;
float(a);
print('pratik','aaa',sep='@')
if s==c:
print("yes")
else :
print("no")
for i in range(1,11):
print(i)
if i == 5:
break
Post a Comment