3
votes
Guess a Number Game
Observations:
PEP 8 suggests using snake case for function names. A name like GuessNum is appropriate for a class, but a function should be something like ...
2
votes
K&R excercise 1-21 Write a program entab that replaces strings of blanks by the minimum number of tabs and blanks to achieve the same spacing
The "ternary expression"
You've used the ternary expression as a replacement for a conditional statement in the following.
...
2
votes
Beginner python program to get data from string
My review will focus on the parsing logic.
months_of_year and days_of_week should be deleted. ...
2
votes
1
vote
Printing the elements of a forward linked list
This test (in remove_front()) looks like it's inverted:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
beginner × 7587python × 2007
java × 1025
c++ × 916
python-3.x × 821
javascript × 686
performance × 626
c × 567
c# × 564
object-oriented × 480
game × 437
programming-challenge × 429
strings × 326
algorithm × 306
php × 238
calculator × 220
rust × 209
tic-tac-toe × 200
haskell × 199
html × 195
console × 186
array × 181
jquery × 175
ruby × 162
python-2.x × 148