Python Answers

Questions answered by Experts: 5 288

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Day Name - 2


Given the weekday of the first day of the month, determine the day of the week of the given date in that month.


Input

The first line is a string D.

The second line is an integer N.

Output

The output should be a string.


Explanation

In the given example,


D = Monday. As the 1st of the day of the month is a Monday, it means the 7th and 14th of the month will be Sundays (A week has 7 days). So the 16th day (N = 16) of the month will be a Tuesday. So, the output should be


Tuesday.


Sample Input 1


Monday


16


Sample Output 1


Tuesday


Denominations - 2

The possible denominations of currency notes are 100, 50, 20 and 10. The amount

A to be withdrawn is given as input. Write a program to break the amount into minimum number of bank notes.InputThe first line of input is an integer A.Output

The output should be a string representing number of 100, 50, 20, 10 notes possible.

Explanation

In the given example amount

370, it can be written as370 = 3*(100) + 1*(50) + 1*(20) + 0*(10)


Then the output should be


100 Notes: 3

50 Notes: 1

20 Notes: 1

10 Notes: 0




Sum of the series


This Program name is Sum of the series. Write a Python program to Sum of the series, it has two test cases


The below link contains Sum of the series question, explanation and test cases


https://drive.google.com/file/d/15oYX0I0vkskebiNz7Wg80SdkZ-MzHTrg/view?usp=sharing


We need exact output when the code was run

Inverted Solid Right Triangle


This Program name is Inverted Solid Right Triangle. Write a Python program to Inverted Solid Right Triangle, it has two test cases


The below link contains Inverted Solid Right Triangle question, explanation and test cases


https://drive.google.com/file/d/1YFU7WKt1VLzQJ6HEmvwToqs3_quADbZ8/view?usp=sharing


We need exact output when the code was run

Solid Right Angled Triangle - 2


This Program name is Solid Right Angled Triangle - 2. Write a Python program to Solid Right Angled Triangle - 2, it has two test cases


The below link contains Solid Right Angled Triangle - 2 question, explanation and test cases


https://drive.google.com/file/d/1FoDyc8wQxsu918bAHA-Va4WSfPZTSZ9e/view?usp=sharing


We need exact output when the code was run

Right Angled Triangle - 3


This Program name is Right Angled Triangle - 3. Write a Python program to Right Angled Triangle - 3, it has two test cases


The below link contains Leap Year question, explanation and test cases


https://drive.google.com/file/d/1gSyv9i4BdnUeFcZrVWRneMTROebbSYOL/view?usp=sharing


We need exact output when the code was run

Hollow Right Triangle - 2


This Program name is Hollow Right Triangle - 2. Write a Python program to Hollow Right Triangle - 2, it has two test cases


The below link contains Hollow Right Triangle - 2 question, explanation and test cases


https://drive.google.com/file/d/1PZVCzgVyE2aBXnfrJWYXpUtAdeK_TkqD/view?usp=sharing


We need exact output when the code was run

Hollow Right Triangle


This Program name is Hollow Right Triangle. Write a Python program to Hollow Right Triangle, it has two test cases


The below link contains Hollow Right Triangle question, explanation and test cases


https://drive.google.com/file/d/1L2C5_Riggm3d_0ehaWeXsouPKlGyW-hb/view?usp=sharing


We need exact output when the code was run

Perfect Squares in a Range


This Program name is Perfect Squares in a Range. Write a Python program to Perfect Squares in a Range, it has two test cases


The below link contains Perfect Squares in a Range question, explanation and test cases


https://drive.google.com/file/d/1Eop1B9ddIWooAOyPsKrtt-1noUCRCSa4/view?usp=sharing


We need exact output when the code was run

Sum of 1 series


This Program name is Sum of 1 series. Write a Python program to Sum of 1 series, it has two test cases


The below link contains Sum of 1 series question, explanation and test cases


https://drive.google.com/file/d/1M5N-yqq2LYyV05d-ThnD_SQ59nm9b1Vb/view?usp=sharing


We need exact output when the code was run

LATEST TUTORIALS
APPROVED BY CLIENTS