Computer Science, asked by rky79831, 5 months ago

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 sujeethjaldani
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
Math, 2 months ago