i = '\033[36m-' * 50
j = 'Welcome to the Calculator'
h = '\033[4m write something to discover the types of it: \033[m\033[36m'
print('{:50}'.format(i))
print('{:-^50}'.format(j))
print('{:50}'.format(i))
x = input('{:^50}'.format(h))
print('_________________________________________________')
print('the primitive type of', x, 'is ', type(x))
print(x, ' is equal to: ')
print('\033[m\033[7mAlphabet:       |', x.isalpha(), '\033[m')
print('\033[7mDigit:          |', x.isdigit(), '\033[m')
print('\033[7mASCII:          |', x.isascii(), '\033[m')
print('\033[7mLower letter:   |', x.islower(), '\033[m')
print('\033[7mDecimal number: |', x.isdecimal(), '\033[m')
print('\033[7mIdentifier:     |', x.isidentifier(), '\033[m')
print('\033[7mNumber:         |', x.isnumeric(), '\033[m' )
print('\033[7mPrintable:      |', x.isprintable(), '\033[m')
print('\033[7mSpace:          |', x.isspace(), '\033[m')
print('\033[7mTitle:          |', x.istitle(), '\033[m')
print('\033[7mUpper latter:   |', x.isupper(), '\033[m')

i = '\033[36m-' * 50
j = 'Welcome to the Calculator'
h = '\033[4m write something to discover the types of it: \033[m\033[36m'
print('{:50}'.format(i))
print('{:-^50}'.format(j))
print('{:50}'.format(i))
x = input('{:^50}'.format(h))
print('_________________________________________________')
print('the primitive type of', x, 'is ', type(x))
print(x, ' is equal to: ')
print('\033[m\033[7mAlphabet:       |', x.isalpha(), '\033[m')
print('\033[7mDigit:          |', x.isdigit(), '\033[m')
print('\033[7mASCII:          |', x.isascii(), '\033[m')
print('\033[7mLower letter:   |', x.islower(), '\033[m')
print('\033[7mDecimal number: |', x.isdecimal(), '\033[m')
print('\033[7mIdentifier:     |', x.isidentifier(), '\033[m')
print('\033[7mNumber:         |', x.isnumeric(), '\033[m' )
print('\033[7mPrintable:      |', x.isprintable(), '\033[m')
print('\033[7mSpace:          |', x.isspace(), '\033[m')
print('\033[7mTitle:          |', x.istitle(), '\033[m')
print('\033[7mUpper latter:   |', x.isupper(), '\033[m')
