5 lines
147 B
Python
5 lines
147 B
Python
a = int(input("Input an integer : "))
|
|
n1 = int( "%s" % a )
|
|
n2 = int( "%s%s" % (a,a) )
|
|
n3 = int( "%s%s%s" % (a,a,a) )
|
|
print (n1+n2+n3) |