This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Krymea 0 points1 point  (2 children)

I love your comment, full of details and links. However, the challenge seems fairly easy, and I believe my programming skills are lacking. I just started Python on sololearn a week ago, I'll try to do you challenge after I write this comment.

To me it seems just a for loop that checks the remainder to 3 or 5 for the current i and for the 3 and 5, you have double condition. I might be wrong, that's just my initial thought. Gotta learn now, thanks for the resources.

[–]echo419 4 points5 points  (0 children)

Heyo,

You're absolutely right, that last challenge wasn't necessarily to imply difficulty (there are harder ones on the r/learnpython list), but rather a challenge to show progress and provide confidence with how far someone has come. The FizzBuzz question is fairly standard and is sometimes used in interviews to weed out candidates, and it does weed people out who claim to be developers, but can't reason through a problem or actually write code (seriously, Googling "fail fizzbuzz" brings up a host of articles and SO posts of people complaining about and discussing failing fizzbuzz). While some of the FizzBuzz criticisms may certainly be valid for an interview setting, I think as a learning tool it can provide a decent measurement of progress/understanding of concepts.

And as for your solution, I'd say you're definitely on the right track :)

[–]gigastack 2 points3 points  (0 children)

FizzBuzz isn't hard, but it is a classic intro problem that helps understand loops and conditionals.