SectionΒ 6. ChapterΒ 6
single
Challenge: Identifying Positive Values
Swipe to show menu
Task
Swipe to start coding
Your task is to create a function called is_positive that takes in a single argument, n. It should return:
'positive'ifnis greater than0.'negative'ifnis less than0.'zero'ifnis equal to0.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 6. ChapterΒ 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat