CAC 2/2
CAC formula:
To write numbers in
0.0
format, use the next coderound(number, 1)
.
Task
Swipe to start coding
- Create the
expenses
variable by finding the sum of allcost.
values. Use the.sum()
function. - Find the number of rows in the
df
and put this value into thecustomers_number
variable. - Define the
CAC
variable using the formula. - Print the
CAC
variable in the0.00
format.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 4. ChapterΒ 5
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.08
CAC 2/2
Swipe to show menu
CAC formula:
To write numbers in
0.0
format, use the next coderound(number, 1)
.
Task
Swipe to start coding
- Create the
expenses
variable by finding the sum of allcost.
values. Use the.sum()
function. - Find the number of rows in the
df
and put this value into thecustomers_number
variable. - Define the
CAC
variable using the formula. - Print the
CAC
variable in the0.00
format.
Solution
Everything was clear?
Thanks for your feedback!
Awesome!
Completion rate improved to 2.08SectionΒ 4. ChapterΒ 5
single