Question: 1 . Write a python program to print the grade of a student based on Test score using nested if - else conditions. Test Score

1. Write a python program to print the grade of a student based on Test score using nested if-else conditions.
Test Score Grade
90 and above A
8089 B
7079 C
6069 D
Below 60 F
2. Write a python program to check if a password is valid or not. A password is valid if :
a. The total length of password should be greater than 5 but less than or equal to 10.
b. All characters should be uppercase.
3. Write a python program to check if a number is a multiple of 2 but not 3.
4. What should be the values of a ,b and c for the output result to be TRUE. (a, b, c are Boolean values).
result =(a and b) or (c and (not b))
Print the result in the output.
5. Print below pattern using for loop.
*****
****
***
**
*
Note: Do not hardcode the values or do not use multiple print statements for the output. Just solve using for loop.

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 Databases Questions!