Sentence construction

From Esolang
Jump to navigation Jump to search

Sentence construction is an esolang by User:Yoyolin0409. This is like a Python version of a sentence-making game.

How to use?

First, take out your Python program:

print("Hello, world!")

Create a sentence using all the text and variable names, while retaining all the words and variable names.

What should the printer print? (It should print "Hello, world!")

This is actually a bit difficult because you have to use the correct grammar, and the time state is also important.
Then, mark the sentence you just created with bold text.

What should the printer print? (It should print "Hello, world!")

Furthermore, this esolang might be feasible, but that would be similar to a grammar corrector.

Example

Hello, world!

Python:

print("Hello, world!")

Sentence construction:

What should the printer print? (It should print "Hello, world!")

Random number generator

Python:

import random
a=input(type:)
num=random.randint(1,a)
print(num)

Sentence construction:

import random file
To calculate a=b, input a thing(anything) type and a colon (:).
The numbers=random things. Especially random integers
What should the printer print? (It should print numbers)