# Python Jupyter Notebook shell Homework

Python Jupyter Notebook shell Homework: Codes should be written in the Python Jupyter Notebook shell…

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).

## Python Jupyter Notebook shell Homework

### Paper details

Codes should be written in the Python Jupyter Notebook shell

### Solution

Question 1
In [1]:

x
1
sunday = 1
2
count = 0
3

4
while sunday <= 31: # looping as long as it didn’t reach 31
5
print(“Week”, count+1, “data”, sunday, “is Sunday”)
6
sunday += 7 # for next sunday
7
count += 1 # for count of weeks
8

9

10

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).

11
sunday -= 7
12

13

#### printing final output

14
print(“We have total”, count, “whole weeks and”, 31-sunday+1, “days left.”)
Week 1 data 1 is Sunday
Week 1 data 8 is Sunday
Week 1 data 15 is Sunday
Week 1 data 22 is Sunday
Week 1 data 29 is Sunday
We have total 1 whole weeks and 3 days left.

sunday = 1
count = 0

while sunday <= 31: # looping as long as it didn’t reach 31
print(“Week”, count+1, “data”, sunday, “is Sunday”)
sunday += 7 # for next sunday
count += 1 # for count of weeks

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).

sunday -= 7

#### printing final output

print(“We have total”, count, “whole weeks and”, 31-sunday+1, “days left.”)
Week 1 data 1 is Sunday
Week 1 data 8 is Sunday
Week 1 data 15 is Sunday
Week 1 data 22 is Sunday
Week 1 data 29 is Sunday
We have total 1 whole weeks and 3 days left.

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).

#### Question 2

x
1
def calculate_bill(dish1_price, dish2_price, tip_percentage):
2
total_dish_price = dish1_price + dish2_price # the total price without tip and tax.
3
tip_amount = total_dish_price * tip_percentage # the total tipping amount.
4
tax_amount = total_dish_price * 0.05 # the total tax to be added.
5
total_final_amount = total_dish_price + tip_amount + tax_amount # final amount after including tips and tax.
6
return tax_amount, tip_amount, total_final_amount # returning the tax, tip and final amount.
7

8

9
print(calculate_bill(300, 200, 0.20))
10
print (calculate_bill(200, 200, 0.20))
(25.0, 100.0, 625.0)
(20.0, 80.0, 500.0)

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).

## Health Care Systems Essay Examples

As you continue privateEssaywriters.com has the top and most qualified writers to help with any of your assignments including how to manage stress in workplaces. All you need to do is place an order with us (Python Jupyter Notebook shell Homework).