Try : If not d1 or not d2 P1=float(d1.get('be_price,0)) P2=float(d2.get('be_price',0)) Expect: Return float (d1.get('price',0))+ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Try : If not d1 or not d2 P1=float(d1.get('be_price,0)) P2=float(d2.get('be_price',0)) Expect: Return float (d1.get('price',0))+

Can any one please help

8th Feb 2023, 7:23 AM
Swarna Rekha Siripuram
Swarna Rekha Siripuram - avatar
1 Answer
+ 8
Swarna Rekha Siripuram , i am sure that someone may help you, but your post is incomplete. please include: > the programming language (to be placed in tags) > a clear task description with input / output sample > a link that points to your code try > a description what exactly your issue is, (if possible including an error message)
8th Feb 2023, 6:51 PM
Lothar
Lothar - avatar