n=int(input("enter a number between 0 and 9:"))
squares = {i:"{} squared is {}".format(i, i**2) for i in range(10)}
print(squares[n])
1942b6448cf32ff909bdf150402aa1cdf7433484
<mask token>

<mask token>
print(squares[n])

n = int(input('enter a number between 0 and 9:'))
squares = {i: '{} squared is {}'.format(i, i ** 2) for i in range(10)}
print(squares[n])

n=int(input("enter a number between 0 and 9:"))
squares = {i:"{} squared is {}".format(i, i**2) for i in range(10)}
print(squares[n])