โ Back to Arrays
Question 393
Check if All Elements Are Positive
Check if All Elements Are Positive
Read a line of space-separated integers. PrintTrueif every element is greater than0, otherwise printFalse. For the input3 5 1 8, print: True
Expected Output:
True
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.