Professional Documents
Culture Documents
Lab2 Python
Lab2 Python
Q2- Write a program to check whether the last digit of a number( entered by user ) is
divisible by 3 or not.
Q3- Write a program to accept a number from 1 to 7 and display the name of the day like 1 for Sunday
, 2 for Monday and so on.
lst = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
Output :-
Q10- Make Method to Return the Maximum and Minimum item from the given list.
lst=[100,30,22,40,60,20,10,300]
Hacker Rank
https://www.hackerrank.com/challenges/python-loops/problem
https://www.hackerrank.com/challenges/write-a-function/problem
https://www.hackerrank.com/challenges/py-if-else/problem