Python Task (Happy June)

Hello Love! Happy Sunday. Here is a task for this week to lunch into June.

Consider the data structures below:
prices = {
    "box_of_spaghetti" : 4,
    "lasagna"  : 5,
    "hamburger" : 2
   }
quantity = {
    "box_of_spaghetti" : 6,
    "lasagna"  : 10,
    "hamburger" : 0
    }

1] Calculate how much was spent on products with a price of 5 naira or more.

2] Calculate how much was spent on products that cost less than 5 naira?


Answer
Kindly write your codes in the comment section.



To Win
After commenting your answer in the comment, then do the following:
1] Subscribe to this blog (hamplustech.blogspot.com)
2] Share the blog to at least three social media platform
3] Like the post.
4] For future win, after winning kindly come back and comment your experience. Then active on the blog.

I Love you but I love Python more!!! Lolzzz

Happy June in Advance!

@HamplusHub
@HamplusTech
#HamplusTech

Comments

Popular posts from this blog

Nigerian Air Force DSSC 2018 - Information

Facebook Job - Secrets and Tips (Applicants)