Relative Content

Tag Archive for pythonprogramming-languages

Making a programming language but I can’t get the inco function to work

I’m are creating a programming language called ‘procol’ with basic syntax. In this language, you want to create a functionality where a variable can be set to the function inco(”), which will open a new window with a prompt and a text bar. The user’s input in the prompt should then set the value of that variable. However, I’m facing difficulties in implementing this feature. I’m seeking assistance to resolve this issue. For extra information, I’m using the tkinter module. Heres the code(I just started on it so there’s lack of currently usable functions):

Making a programming language and it won’t set the answer to the prompt with ‘inco’ function

I’m making a programming language named ‘procol’. It has basic syntax, much like a regular old programming language. Since the output can only display text, I decided to make it so that when a variable is set to inco(”), it will make a new window, asking with the prompt, and with a text-bar. I tried making the answer submitted on the text bar the variables value but it won’t work. For extra information, I’m using the tkinter module. Heres the code(I just started on it so there’s lack of currently usable functions):

Single operator floor division

What programming languages other than Python has the floor division as a single operator from the programmers’ point of view?
Why does it even exist? Please don’t give me the answer of because it can!