954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Repeating Translations

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.

A.D.M.I.N
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

Why not, it looks like a good idea :)

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 

I mean how could I do this?

A.D.M.I.N
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 
Why not, it looks like a good idea :)

How could I do that?

A.D.M.I.N
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

I think this could help you http://www.daniweb.com/forums/announcement.php?f=8&announcementid=2 . Post your code, it's the best starting point for a thread.

Gribouillis
Posting Maven
Moderator
2,786 posts since Jul 2008
Reputation Points: 1,044
Solved Threads: 691
 
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.

woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
 
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?

A.D.M.I.N
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

docs.python.org/py3k/tutorial/index.html

pyTony
pyMod
Moderator
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
 
What would the syntax be to do that?

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

woooee
Nearly a Posting Maven
2,454 posts since Dec 2006
Reputation Points: 777
Solved Threads: 714
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: