Skip to main content

Questions tagged [pyth]

related to the Pyth language. Note that challenges that require the answers to be in a specific language are generally discouraged.

Filter by
Sorted by
Tagged with
5 votes
1 answer
480 views

I was wondering if there is any way to assign 2 values (G and H) to say a list of ["egg", "chicken"] in Pyth. In python it would be something along the lines of ...
scpchicken's user avatar
2 votes
0 answers
82 views

The problem is I need to skip or delete all the lines between the two keywords in a file and the keyword pair will appear many times in the file.The file looks something like this ...
user68680's user avatar
21 votes
5 answers
884 views

Time for another Pyth practice. I present here 8 problem statements with a Pyth solution each. These solutions are written by a Pyth beginner. He is quite happy about these solutions, since they are a ...
Jakube's user avatar
  • 22k
23 votes
9 answers
3k views

Pyth is in ongoing development, meaning that new features are being added all the time. I want to make Pyth a better langauge, so I'd like to know what features people are looking for. This is the ...
10 votes
1 answer
999 views

When dealing with long numbers when code golfing, getting the length of your code down can be difficult, so do you have any tips for making a number shorter and easier to manage? For example, the ...
Beta Decay's user avatar
  • 23.7k
9 votes
3 answers
2k views

Which language usually produces shorter golfed code: Pyth, CJam or Golfscript? In asking this, I do not mean which has a prettier syntax or which has the most useful commands, I mean overall, which ...
Nico A's user avatar
  • 2,540
10 votes
5 answers
872 views

This is a challenge about the the tricks and optimizations that can be used when golfing in Pyth. Pyth golfers may recognize many of the tricks involved. However, unfamiliar approaches and constructs ...
izzyg's user avatar
  • 42.4k
1 vote
1 answer
145 views

Write a program in any language that takes a single natural number n as input and generates a Pyth program that, in turn, produces, using nested lists, the nested set given by S(n), where: S(0) = ∅ ...
SuperJedi224's user avatar
50 votes
24 answers
8k views

Pyth is a Python-inspired procedural programming language, created by PPCG user isaacg. What general tips do you have for golfing in Pyth? I'm looking for ideas that can be applied to code golf ...
izzyg's user avatar
  • 42.4k