1
\$\begingroup\$

Your program should print the following:

**Language, XXX bytes**

```
CODE
```

or its equivalent. XXX should be substituted by the actual number of bytes your program takes, and CODE should be substituted by the source code of your program. Language should be substituted by the actual language your program is in.

Your program will have all strings exactly equal to their language name substituted to the empty string before its byte count is counted. For instance:

print("PytPythonPythonhon")

and

print("PPPPPPythonythonythonythonythonython")

have the same byte count.

\$\endgroup\$
4
  • \$\begingroup\$ Why ** and not #? \$\endgroup\$
    – l4m2
    Commented Feb 2 at 7:31
  • \$\begingroup\$ For bold? IHATE15CHAR \$\endgroup\$
    – Sny
    Commented Feb 2 at 7:34
  • \$\begingroup\$ "Your program will have all strings exactly equal to their language name substituted to the empty string before its byte count is counted." - I don't understand what this means? \$\endgroup\$ Commented Feb 2 at 8:28
  • \$\begingroup\$ whoops IHATE15CHAR \$\endgroup\$
    – Sny
    Commented Feb 2 at 9:28

0

Browse other questions tagged or ask your own question.