I want to translate text inputted multiple times then output it. I am using the maketrans() function. I want to translate multiple times, by a number of times a user would input.

Re: Repeating Translations 80 80

Why not, it looks like a good idea :)

Re: Repeating Translations 80 80

I mean how could I do this?

Re: Repeating Translations 80 80

Why not, it looks like a good idea :)

How could I do that?

Re: Repeating Translations 80 80

I mean how could I do this?

Pass a parameter to the function, and return the desired result as many times as you want. You can start at "A first program" here and also here and here. No on wants to do this for you as it is simple and is something you can do for yourself, and should understand if you are going to write programs.

Re: Repeating Translations 80 80

Pass a parameter to the function, and return the desired result as many times as you want. You can start at "A first program" here and also here and here. No on wants to do this for you as it is simple and is something you can do for yourself, and should understand if you are going to write programs.

What would the syntax be to do that?

Re: Repeating Translations 80 80
Re: Repeating Translations 80 80

What would the syntax be to do that?

This has just become a "keep-asking-questions-until-someone-codes-it-for-you" thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.