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

 

amgreyson@gmail.com > f
prev  |  next  |  chance

Given the Python function called f(x), define f(x) to be 2x + 1.


f(2) → 5
f(-6) → -11
f(0.5) → 2.0

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

def f( x ):

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

Difficulty: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy