menu_book Course Curriculum (Intro to Programming) expand_more
Core Concepts
Data Structures
Problem Solving
Pure functions
Learn Pure functions in Intro to Programming with a focused explanation, a topic-specific example, and a mastery check.
12 min read
•
Intermediate
intro-programming-021.py
python
def celsius_to_fahrenheit(c): return c*9/5+32
print(celsius_to_fahrenheit(20))
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content