Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #sayan bhowmik
- string="Light Amplification by the Simulated Emission of Radiation"
- print("\n\n")
- contain=""
- z=string.split(" ")
- l=len(z)
- emp=""
- '''|SORING BLOCK|'''
- for x in range(0,l,1):
- esc=z[x]
- if (z[x]=="by" or z[x]=="the" or z[x]=="of"):
- esc=z[x+1]
- emp=emp+" "+esc
- print emp
- '''
- =====================
- Acronym Block
- =====================
- for i in range(0,l):
- fi=x[i]
- if (fi==" "):
- fi=x[i+1]
- contain=contain+fi
- final=str((x[0]+contain));print final.upper()
- '''
Advertisement
Add Comment
Please, Sign In to add comment