Python Tutorial 15: Functions (with Parameters, Return, Scope and Repeating Functions)

preview_player
Показать описание
In this video, you will learn about functions. Then you will learn about parameters and return statements and learn what scope is. Finally, you will learn how to write a program that uses a function to see whether or not a number is prime. This is the 15th video in a series of Python Tutorials. This course will teach you how to go from beginner to independent programmer. If you like this video make sure to subscribe and ring the bell so that you’ll be up to date with the latest Python material!

Timestamps:
0:00 Welcome
0:35 Functions
1:27 Parameters
2:51 Return Statements
5:54 Scope
7:51 Is Prime Function
9:19 Repeating Functions

Рекомендации по теме
Комментарии
Автор

Thank you mate. I started to lern programming with python a half year ago. It was very frustrating for me and i stoped to lern phyton at the point of functions. You gave me my motivation back bro. Its 02:11 PM and the alarm is ringing in 3 hours. :P greetings from germany

aleksalukic
Автор

Hello Janathan, many thanks for your amazing tutorial. I have a question, why it doesn't work for 6? I mean 6 is not a prime number but with this code, it shows as prime.

haniehfasihy
welcome to shbcf.ru