color = {'green': '\033[32m', 'blue': '\033[36m', 'red': '\033[31m', 'purple': '\033[35m', 'clean': '\033[m'}
print('\033[30;47m=+=\033[m' * 26)
print('\033[30;43mScript that calculates the double, triple and square root of the input number  \033[m')
print('\033[30;47m=+=\033[m' * 26)
n = int(input('Type a integer number: '))
print('The double of {}{}{} is {}{}{}, the triple is {}{}{} and the square root is {}{:.3}{}'
      .format(color['green'], n, color['clean'],
              color['blue'], 2 * n, color['clean'],
              color['red'], 3 * n, color['clean'],
              color['purple'], n ** (1/2), color['clean']))

color = {'green': '\033[32m', 'blue': '\033[36m', 'red': '\033[31m', 'purple': '\033[35m', 'clean': '\033[m'}
print('\033[30;47m=+=\033[m' * 26)
print('\033[30;43mScript that calculates the double, triple and square root of the input number  \033[m')
print('\033[30;47m=+=\033[m' * 26)
n = int(input('Type a integer number: '))
print('The double of {}{}{} is {}{}{}, the triple is {}{}{} and the square root is {}{:.3}{}'
      .format(color['green'], n, color['clean'],
              color['blue'], 2 * n, color['clean'],
              color['red'], 3 * n, color['clean'],
              color['purple'], n ** (1/2), color['clean']))
