0
Can we create a customizing option which could be useful for converting the syntax of one language? Pls read description
Example:::::for displaying a text we use print in python but i dont like the word print instead i want to use the word display. So i go to my customize option and edit the word "print" and change it to the word "display",so hereafter i dont want to use the word "print". Likewise if i could customize all the functions and all the commands,will it be a useful one for the programmers. Can we create such customizing tool??
3 odpowiedzi
+ 1
Well you could do it through functions
def display(x):
print(x)
# now you can do this
string = "hello world"
display(string)
I used to do this in C# often, as in the beginning I didnt like writing out Console.ReadLine(); the entire time
+ 1
Thanks for this information i didnt know this thanks