Hello @Manan ,
Welcome to the STM32 Community :smiling_face_with_smiling_eyes:
I recommend you the ready to use examples with the STM32CubeL0 MCU package: STM32Cube_FW_L0_V1.11.3\Projects\NUCLEO-L073RZ\Examples
You will find a rich set of examples and applications for different toolchains (EWARM, MDK-ARM, SW4STM32) and select the one suitable for you.
Then, you can migrate the project to STM32CubeIDE following the user manual to import Cube projects from SW4STM32 to STM32CubeIDE:
Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks