How many times does the number '7' appear in String a?
1 |
|
s = 'woimoepzbjvxfafpyfpzgmxugjodtemcjcpoxobfgbsmokkmcdpmawcwwaxhqwabzdlplvteszqgtkamxjkswkpnzpxpudxcmigz'
The given variable 's' is a sequence of random alphabets.
What is length of the longest sub-string of 's' in which the letters occur in alphabetical order.
For example, if s = 'azcbobobegghakl', then the longest sub-string in which letters occur in alphabetical order is 'beggh' with length 5.
There are 26 letters, A to Z. The inverse code, replaces A as Z, B as Y, C as X .... and Z as A.
Use the inverse code to translate the message in the image.