0

How to change input name

When I use input(). How do I change what the prompt says?

7th Oct 2024, 8:33 PM
Samed Karazhayev
Samed Karazhayev - avatar
2 Réponses
+ 6
Samed Karazhayev on Sololearn you cannot change the pop-up input prompt. It appears before your program even runs, and is a fixed part of the batch job that executes your program.
7th Oct 2024, 10:32 PM
Brian
Brian - avatar
+ 5
Hi Samed Karazhayev , You can change what the prompt says by passing your desired text as an argument inside the input() function: -> input("...text...")
7th Oct 2024, 10:12 PM
Per Bratthammar
Per Bratthammar - avatar