Science, asked by Anonymous, 4 months ago

3. Write a Python function, odd, that takes in one number and returns True when the number is odd and False otherwise. You should use the % (mod) operator, not if.


kidhar jaan ....??
bye Q​

Attachments:

Answers

Answered by Anonymous
2

Answer:

 \huge\fbox\red{AnsweR}

We create the following functions for the solution:

This function simply computes the sum of the odd digits.

Finally, in the main function, we call the input function, and declare a count variable. So, if no numbers of the required type are found, we can print an appropriate message.

______________________

  • pta nhi par ja rhi hun man kar rha h..xD
Answered by Anonymous
4

The Green Revolution, or the Third Agricultural Revolution, is the set of research technology transfer initiatives occurring between 1950 and the late 1960s, that increased agricultural production worldwide, beginning most markedly in the late 1960s. Snap vagera par ho toh add kar dena "chromeviper195" handle hai, ye ek secret I'd hai, question par mat dalna, saale acc hi delete kar dete hai

-python :)

Similar questions