blob: e3a3cd0a02ff7aaa4587c6675e690637755b33d3 (
plain) (
blame)
1
2
3
4
|
a = float(input('Enter first number: '))
b = float(input('Enter second number: '))
print('Concatenation of integer parts:', ''.join(str(int(i)) for i in (a, b)))
print('Sum rounded to 2 decimal places:', round(a + b, 2))
|