id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

konstans@stuy.edu all > funkyCalc
prev  |  next  |  chance

Given the parameters x,y and z: return the result of the expression equivalent to "Three times x plus half of y, all divided by twice z".


funkyCalc(1, 1, 1) → 1.75
funkyCalc(3, 2, 1.25) → 4.0
funkyCalc(-1, 6, 1) → 0.0

...Save, Compile, Run (ctrl-enter)

def funkyCalc(x,y,z):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy