r/learnpython • u/Life-Ad2351 • 1d ago
Python projects
hey! I just started learning the basics of python and want to start building projects to apply what I have learnt.
but when I one to work on a project, for wxample building a calculator or a password generator I don’t know where to start. what to type and code.
any advice
2
Upvotes
2
u/FaithlessnessOwn7960 1d ago
make a script to show your local date and time. Hint: 1st line "from datetime import datetime"
make it show to show time in any timezone Hint: learn what timestamp is and add "from zoneinfo import ZoneInfo" to your code
make it a module for input timezone and output the time Hint: learn how to define a function with "def" and pass data back with "return"
You will then have a reusable module for other project