n=123
f=456.789
s1='Hello, world'
s2='Hello, \'Adam\''
s3=r'Hello, "Bart"'
s4=r'''Hello,
Lisa!'''
print(' n ='+str(n)+'\n'+' f ='+str(f)+'\n'+'s1 ='+s1+'\n'+'s2 ='+s2+'\n'+'s3 ='+s3+'\n'+'s4 ='+s4)
Sign in to make a reply
遥云千鲤河
n=123
f=456.789
s1='Hello, world'
s2='Hello, \'Adam\''
s3=r'Hello, "Bart"'
s4=r'''Hello,
Lisa!'''
print(' n ='+str(n)+'\n'+' f ='+str(f)+'\n'+'s1 ='+s1+'\n'+'s2 ='+s2+'\n'+'s3 ='+s3+'\n'+'s4 ='+s4)