Skip to main content

All Questions

3votes
2answers
742views

MP3 Playlist Class in Python

Background Info I am an intermediate level Python programmer. This is my implementation of a MP3 Playlist class challenge that was hosted on 101 Computing.Net. The ...
Seraph776's user avatar
2votes
1answer
105views

Extract values from English numerals, e.g. "nine million and one"

Though many have done it the other way around, I have not seen such code in many places. And, to be honest, I don't know why this cluster of if-statements, ...
niamulbengali's user avatar
2votes
1answer
6kviews

HackerRank: Left Array Rotation in Python

Here is the problem on HackerRank. I want to know how I can improve this code. I am mainly trying to improve the following skills: Documentation, functional programming (top-down approach), accurately ...
Clever Programmer's user avatar
6votes
3answers
752views

Funny string python solution

Problem Statement Suppose you have a string \$S\$ which has length \$N\$ and is indexed from \$0\$ to \$N−1\$. String \$R\$ is the reverse of the string \$S\$. The string \$S\$ is funny if the ...
CodeYogi's user avatar
1vote
2answers
1kviews

Application of higher-order function in Python

If \$f\$ is a numerical function and \$n\$ is a positive integer, then we can form the \$n\$th repeated application of \$f\$, which is defined to be the function whose value at \$x\$ is \$f(f(......
overexchange's user avatar

close