Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Functions in Python are easy ๐Ÿ“ž
Play lesson

Python tutorial for beginners ๐Ÿ - Functions in Python are easy ๐Ÿ“ž

4.0 (0)
8 learners

What you'll learn

This course includes

  • 14.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#python #tutorial #course 00:00:00 functions 00:01:49 arguments 00:04:28 exercise #1 00:06:12 return 00:08:27 exercise #2 00:10:08 conclusion # ---------- EXAMPLE 1 ---------- def display_invoice(username, amount, due_date): print(f"Hello {username}") print(f"Your bill of ${amount:.2f} is due: {due_date}") # display_invoice("BroCode", 42.50, "01/02") # display_invoice("JoeSchmo", 100.99, "02/03") # ---------- EXAMPLE 2 ---------- def create_name(first, last): first = first.capitalize() last = last.capitalize() return first + " " + last full_name = create_name("spongebob", "squarepants") print(full_name)

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere