Session 16
task1: Implement vowel program using if else?
Condition1 condition2 condition3 (Pair conditions)
Note: When we are implementing pair conditions, we should use logical operators to concatinate (join or between).
like
and
or
about
and
True and True -> True
True and Flase -> False
False and True -> False
False or False -> False
When do we use operator?
-> When following statement should execute any one condition is true.
task2
Implement vowel program using if else and which should handle case sensitive?
-> Implement above vower program by using if else and which should handle case sensitive by using pre-defined method?
Design with o/p
task3
write a python program to accept student 3 subject marks and display the result?
Step1: Design with O/P
----------------------
Solution:-
Task4
Implement above program using 6 subjects
task5: Accept person age display person status
Tuesday, July 27, 2021
Python - day 16 if elif else continue
Subscribe to:
Post Comments (Atom)
Git branch show detached HEAD
Git branch show detached HEAD 1. List your branch $ git branch * (HEAD detached at f219e03) 00 2. Run re-set hard $ git reset --hard 3. ...
-
snmpconfig command allow you to managge snmpv1/v3 agent configuration on SAN switch. Event trap level is mapped with event severity level....
-
Firmware upgrade on HPE SuperDom Flex 280 - prerequisites tasks a. Set up repo b. Upload firmware to your webserver 1. For foundation so...
-
Disabling the Telnet protocol on Brocade SAN switches By default, telnet is enabled on Brocade SAN switches. As part of security hardening o...
No comments:
Post a Comment