Question
WAP to input a number. If the number is negative, then again input the number. Keep on doing so until the user enters a positive number.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
For example:
if L =[1,-2,3,4,-5,7] ,
Then the output should be: [-2,-5,3,4,7]