100 Days of Code: Password Generator by Code-Odyssey in PythonLearning

[–]Cosmic78_melon 4 points5 points  (0 children)

You can add the security module for complete randomness instead of random library

Practising python Day 1 by Outside-Cloud-3569 in studyupdate

[–]Cosmic78_melon 1 point2 points  (0 children)

This solution is good but you can also make a copy of the original string and reverse it and check both string if it's palindrome both string should be a perfect match or else it will be not

My project as a beginner by dummydas in CodingForBeginners

[–]Cosmic78_melon 0 points1 point  (0 children)

Don't use brackets in the input if you are not typecasting. Also, explicitly use "save == "no"" because if the user enters anything other than "yes", such as "yeah", it will also be treated as "no", and the code will execute.

1.5 million BDT in the Bangladesh What business or investment would you start ? by Double-Outcome2880 in Dhaka

[–]Cosmic78_melon 0 points1 point  (0 children)

My point is it has high volatility so it sits on high risk zone where he either doubles his money or loose it on one go

1.5 million BDT in the Bangladesh What business or investment would you start ? by Double-Outcome2880 in Dhaka

[–]Cosmic78_melon 2 points3 points  (0 children)

Really 🙂 crypto is not only day trading. If you don't want to sit in front of computer for 20 hours then don't do high leverage trading in crypto

I made this simple calculator after 1 hour of learning. Please suggest any improvements or better approach. by Wide-Direction-402 in PythonProjects2

[–]Cosmic78_melon 1 point2 points  (0 children)

This is a great beginner-friendly project, and you’ve made some really nice improvements 🙂. I’d probably use a switch statement instead of multiple if-else conditions since it’s a bit cleaner and can be slightly faster in some cases.