Question: num _ points 1 and num _ points 2 are read from input. Write one if statement and one if - else statement: - If

num_points1 and num_points2 are read from input. Write one if statement and one if-else statement:
- If num_points 1 is greater than 0, then output 'num_points1 is positive.'
- If num_points2 is greater than or equal to 15, then assign num_points 2 with 1.
- Otherwise, output 'num_points2 is less than 15.'
Click here for examples
```
num_points1= int(input())
num_points2= int(input())
|
print(f'num_points2 is {num_points2}.')
```
num _ points 1 and num _ points 2 are read from

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!