Find and write the output of the following Python code : 2
Str1="EXAM2018" Str2=" "
I=0 while I="A" and Str1[I]<="M": Str2=Str2+Str1[I+1] elif Str1[I]>="0" and Str1[I]<="9": Str2=Str2+ (Str1[I-1])
else: Str2=Str2+"*" I=I+1 print (Str2)
Answers
Answered by
0
Answer:
The output of the following Python code : 2
"Exam2019"
Similar questions