Question: 13) Complete the following table with the correct Python script (3 mark) Rewrite the following code fragment using for loop. i=100 while(i>0): print(i) i=i-3

13) Complete the following table with the correct Python script (3 mark) 

13) Complete the following table with the correct Python script (3 mark) Rewrite the following code fragment using for loop. i=100 while(i>0): print(i) i=i-3 Rewrite the following code after removing all syntactical errors with each correction underline. def pmu(): x=int(input("Enter a number:")) if(abs(x)=x): number") else: pmu() print("entered a positive x=-1 print("number not positive")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!