I am trying to run this code but it is not giving me output in voice

By the looks of it, you should flatten (un-indent) line 16. As is, it’s a part of the function, rather than a call to said function.

N.B: not tested.

Thank you Rob :)) I am beginner so :sweat_smile:

No worries; you’re welcome.