Social Sciences, asked by mjakharsalhawas2004, 9 months ago

total languages recognised by indian constitution besides hindi​

Answers

Answered by Anonymous
0

Answer:

[tex]"""

This is my First Ever Code in Python.

Thanks to this SoloLearn Community and it's very well-behaved, polite members.

The technique used to write the alphacodes is "Run-Length Encoding Compression Technique"

To run the Code you simply have to Enter a String (or your Sweet Name)

If you found any bug or any Problem in executing this Code, please let me know about that in the Comment Section below!

I've aligned the text vertically, because horizontal alignment is not possible for more than 4 charcters on mobile app.

"""

print("""

It's very good to See you Here!

I Hope You'll Like This...

Coded by: CuriosBasant

""")

C='CdC' #frequently used string

alpha = {

'A': ['aH','J']+[C]*2+['J']*2+[C]*2,

'B': ['I','J',C,'I'],

'C': ['aH','J',C,'Cg'],

'D': ['G','I']+[C]*2,

'E': ['I']*2+['C','I'],

'F': ['I']*2+['C']+['H']*2+['C']*3,

'G': ['aH','J','C']+['CbE']*2+[C,'J','aH'],

'H': [C]*3+['J'],

'I': ['H']*2+['bD']*2,

'J': ['fD']*5+['CcD','J','aH'],

'K': ['CcD','CbD','CaD','G'],

'L': ['C']*6+['I']*2,

'M': ['CgC','DeD','EcE','M','CaEaC','CbCbC']+['CgC']*2,

'N': [C,'DcC','EbC','FaC','CaF','CbE','CcD',C],

'O': ['aH','J']+[C]*2,

'P': ['I','J',C,'J','I']+['C']*3,

'Q': ['aH','J','DcC','CaAbC','CbAaC','CcD','J','aH'],

'R': ['I','J',C,'J','I','CaD','CbD','CcD'],

'S': ['aI','K','C','J','aJ','hC','K','aI'],

'T': ['L']*2+['dD']*6,

'U': ['CfC']*5+['DdD','aJ','cF'],

'V': ['CgC']*3+['aCeC','bCcC','cCaC','dE','eC'],

'W': ['CgC']*3+['CbCbC','CaEaC','M','EcE','DeD'],

'X': ['DeD','aDcD','bDaD','cG'],

'Y': ['CgC','aCeC','bCcC','cCaC','dE']+['eC']*3,

'Z': ['I']*2+['dD','cD','bD','aD']+['I']*2

}

for t in {'B','C','D','E','H','I','K','O','X'}: alpha[t]+=reversed(alpha[t])

#Here, CdC represents all of the stuffs

def disp(CdC):

for c in range(len(CdC)):

flag=CdC[c].isupper()

print(('0' if flag else ' ')*(ord(CdC[c])-(64 if flag else 96)), end='')

print()

text=input().upper()

print('Your Entered Text is : %s\n'%text)

for i in range(len(text)):

if not text[i].isalpha(): #Ignoring any Special Characters

print('\n\n')

continue

for r in range(8):

disp('p'+alpha[text[i]][r])

print()

"""

For everyone wondering, how the code works? Let me explain you.

For every letter I've used a list of 8 strings consisting of capital and small letters (viz.- 'CdC','EcE', etc)

Here, each capital and small letter denotes zeroes and spaces to be printed, respectively. For example, a 'C' will print 3 zeroes and 'd' will print 4 spaces. That is 'CdC' will print 3 zeroes, 4 spaces and then 3 more zeroes. The same is true throughout. I hope you're now understood!

"""

print("""\n

============================================

If you LIKED the Code, don't forget to raise the Arrow Upward!

And Thanks for +3k VOTES! this encourages me to work hard.

You guys are really awesome.

[/tex]

hello dear ashish ji here

Similar questions