PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
Completion - GPT-3.5 (text-davinci-003)
Token size
117 ($0.00230 / call)
Example input
x=int(input("Rentrer la valeur de x : ")) resultat=x+2 resultat=resultat*2 print("Quand x vaut "+repr(x)+", le résultat vaut " +repr(resultat)+" !")
Example output
Here is the code converted to Javascript : var x = parseInt(prompt("Rentrer la valeur de x : ")); var resultat = x + 2; resultat = resultat * 2; console.log("Quand x vaut " + x + ", le résultat vaut " + resultat + " !");
🤖 GPT

Automatic Code Conversion

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
TEXT-DAVINCI-003
Tested icon
Guide icon
Free credits icon
"Transform Your Code with Ease: Choose Your Target Language and Watch the Magic Happen! Our prompt simplifies the task of converting your code into a different programming language. We've made it easy for you by presenting a table of 6 of the most popular programming languages (Java, Javascript, Shell, Python, C++, Ruby), each with a numbered option. Simply select the language you want your code to be converted to and voila! The results will be displayed right before your eyes."
...more
Added over 1 month ago
Report
Browse Marketplace