Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

pyhton3

  1. Y

    Python Could you help me fix my django forms code , I'm trying to get return_items based on the items_issued to a particular person

    here are my models class IssueItem(models.Model): id = models.BigAutoField(primary_key=True) person = models.ForeignKey(Person, on_delete=models.CASCADE) grouped_item = models.ForeignKey( GroupedItems, on_delete=models.CASCADE, related_name=‘issue_items’ ) units_issued =...
  2. austin

    Python Sum of Digits

    I am working on writing a code named sumDigits which takes three parameters: a, b, c. Then the function finds the smallest integer between a and b (both inclusive) whose sum of digits is c, and returns that integer. For example, sumDigits(10, 20, 5) will return 14, because the smallest...
Back
Top Bottom