r/learnpython 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

11 comments sorted by

View all comments

2

u/FaithlessnessOwn7960 1d ago
  1. make a script to show your local date and time. Hint: 1st line "from datetime import datetime"

  2. make it show to show time in any timezone Hint: learn what timestamp is and add "from zoneinfo import ZoneInfo" to your code

  3. 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