Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
IT tuition, Class 12

Python functions and files

Scope, arguments and file handling.

Learn step by stepExplained simplySame chapter in everyday words, or practise below.

Sign up free to save your progress and get your tutor.

Step 1 of 8

def f(x): return 3 * x + 1 print(f(4))