We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 2: Operators
Day 2: Operators
Sort by
recency
|
3417 Discussions
|
Please Login in order to post a comment
Hey guys , ı want to learn Python for Data science , What can I do for learning data science ?
Anyone knows why correct solutions are not awarded with points nor marked as solved? (it is said that submissions take longer, but actually they are not taken)
In python:
In the parameterised function define the formula, below is the code:
function solve(meal_cost, tip_percent, tax_percent) { // Write your code here // Calculate tip and tax let tip = meal_cost * (tip_percent / 100); let tax = meal_cost * (tax_percent / 100);
}
double tip = meal_cost/100*tip_percent; double tax = meal_cost/100*tax_percent;