Skip to main content
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 ...
Chris's user avatar
  • 6,126
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. ...
Chris's user avatar
  • 6,126
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. ...
Reinderien's user avatar
  • 71.2k
2 votes

Beginner python program to get data from string

strftime() ...
J_H's user avatar
  • 43.3k
1 vote

Printing the elements of a forward linked list

This test (in remove_front()) looks like it's inverted: ...
Toby Speight's user avatar
  • 88.7k

Only top scored, non community-wiki answers of a minimum length are eligible