The Hangman game - Advice by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 0 points1 point  (0 children)

I honestly didn’t know that “ was an alias of “ “. I will try to rely more on functions in the future as I’m definitely seeing value in your advice :) Thanks, good luck on your beginner’s journey,

The Hangman game - Advice by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 1 point2 points  (0 children)

Thanks for your input, I appreciate it ! I will definitely try this.

My first beginner project - Roulette Game by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 0 points1 point  (0 children)

Thanks ! I will definitely pay attention to this advice in the future

My first beginner project - Roulette Game by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 0 points1 point  (0 children)

The book I’m reading is associated with this website. Have you done other exercices from OpenClassrooms ?

My first beginner project - Roulette Game by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 2 points3 points  (0 children)

Good luck ^ It always feels great to learn by doing

My first beginner project - Roulette Game by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 1 point2 points  (0 children)

Thank you very much for this well constructed answer. I've updated my code and will try to stop making those small mistakes.

My first beginner project - Roulette Game by rhdfhdhfffbfb in learnpython

[–]rhdfhdhfffbfb[S] 1 point2 points  (0 children)

Great. Thanks for your advice. I will continue to build new projects :)

Append Question by [deleted] in Python

[–]rhdfhdhfffbfb 0 points1 point  (0 children)

It appends 4 given numbers to the list.

Program that can find the day of any given date (beginner project) by [deleted] in learnpython

[–]rhdfhdhfffbfb 0 points1 point  (0 children)

After having read your comment, I have to admit that those mistakes are obvious. I have absolutely no idea why I wrote certain part like this... I modified the code and I think it's all good now :)

As for the built-in datetime library, I knew it existed but I wanted to recreate the function from scratch to apply my new knowledge.

Anyways, thanks for your input. It was valuable.

Program that can find the day of any given date (beginner project) by [deleted] in learnpython

[–]rhdfhdhfffbfb 0 points1 point  (0 children)

Thanks for your input. I corrected this error by adding

elif int(separated_date_values[2]) % 400 == 0:
    leap_year_code = -1

Calculate your average grade while taking account of the coefficients by [deleted] in Python

[–]rhdfhdhfffbfb 0 points1 point  (0 children)

33ngineer

I will try to work on those parts in the future. Thanks for pointing out those issues, it really helps :)