For this Question: A string is called a bad string, if it follows the two conditions:
1. All odd positions of the string contain lowercase letters.
2. All even positions of the string contain uppercase letters. 
 
Determine whether a string S is bad.The first line contains the string S.

<b>Constraints</b>
S consists of uppercase and lowercase English letters.
The length of S is between 1 and 1000 (inclusive).If S is bad, print Yes; otherwise, print No.Sample Input 1 
dIfFiCuLt

Sample Output 1 
Yes

The odd- positioned characters are all lowercase and the even- positioned characters are all uppercase, so it is bad.

Sample Input 2 
eASY

Sample Output 2 
No

The 3- rd character is not lowercase, so it is not bad.

Sample Input 3 
a

Sample Output 3 
Yes, I have written this Solution Code: s=input()
l=len(s)
s1=""
s2=""
for i in range(1,l):
    if i%2==0:
        s2+=s[i]
    else:
        s1+=s[i]
if(s2.isupper() or s2.islower()):
    print("Yes")
else:
    print("No"), In this Programming Language: Python, Now tell me if this Code is compilable or not?