Find and write the output of the following python code:-
Text1="HYExam2020"
Text2=""
for I in range(0,len(Text1)):
if Text][I]>="0" and Text1[1]<="9":
Val = int(Text1[1])+Val
elif Text1[I]>="A" and Text1[1] <="Z":
Text2=Text2 +Text[1].lower()
else:
Text2=Text2 + "*"
print(Text2, Val)
Answers
Answered by
0
Answer:
Text1="HYExam2020" Text2="" for I in range(0,len(Text1)): if Text][I]>="0" and Text1[1]<="9": Val = int(Text1[1])+Val elif Text1[I]>="A" and Te
Similar questions
Geography,
2 months ago
English,
5 months ago
Math,
5 months ago
Environmental Sciences,
10 months ago
Social Sciences,
10 months ago
Sociology,
10 months ago