Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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) 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Derivatives And Risk Management

Authors: Don M. Chance, Robert Brooks

10th Edition

130510496X, 978-1305104969

More Books

Students also viewed these Programming questions

Question

List and briefly describe five reasons for the study of history.

Answered: 1 week ago

Question

Briefly explain the qualities of an able supervisor

Answered: 1 week ago

Question

Define policy making?

Answered: 1 week ago

Question

Define co-ordination?

Answered: 1 week ago

Question

What are the role of supervisors ?

Answered: 1 week ago