Python Decision Making Functions

Python Decision Making Functions | Part 2 20 min

  

If--elif-else condition working with example, while loop with working and example, for loop and its example, Usage of keyword : Continue, Break, Pass, from , import, date and time in python with example, making and calling of functions in python, local and global variable

QA Section

Speak Your Mind


Chiranjiivi

Hi Jaspreet, I tried the below code as per your explanation but I`m getting an error. Can I request you to kindly have a look please? from _datetime import datetime dt = '04/06/2021' fd = datetime.strptime(dt, '%Y,%d %m') print(fd) Result: AttributeError: partially initialized module '_strptime' has no attribute '_strptime_datetime' (most likely due to a circular import)

Reply

DEEPAK KUMAR TIWARI

Nice explanation , clear sound , appropriate explanation speed.

Reply