Learn Python Functions - Quick Python Project For Beginners

preview_player
Показать описание
In this tutorial, we will talk about Python functions and how we can use them to change the text colours in our terminal/console!
We will begin with an overview of functions and we will finish with a quick (but useful! 💪💪💪) code project!

Complete Code for Random Console Text Colour Generator:

⭐ Related Tutorials ⭐

What is RGB and how images can be represented with numbers:

Create RGB Images with OpenCV:

******************************
⏰ TIME STAMPS ⏰
******************************
00:00 - intro
00:14 - what are functions?
00:41 - Python functions
01:04 - local variables
01:24 - return statement
02:30 - function call
02:47 - function parameters
03:37 - function arguments
04:09 - coding Python functions
05:37 - randomly change console text color
06:09 - RGB color mode
09:24 - function primary goals
09:48 - thanks for watching! 😊

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

First I have to thank you for you amazing work. Second I confess that I stole your funny change color function, to show it more that 100 people, I taught python function today. In return I highly recomended your channel, so more than 100 grils and boys from Poland, Spain, Germany and other countries heard about Python Simpified. I hope you will not be mad and not send me some killing bot :-) Thanks for inspiration.

Khalil-Artur
Автор

You are hands down the BEST python tutorial teacher. I haven't seen a video that breaks down every single step, leaving NO details unexplained.

You don't assume I know all the Python terminology, allowing me to really understand the basics.

You are the BEST on youtube!

DAGGETT
Автор

Really the best Function Tutorial ever!
It doesn't fall on "def" ears...
Thank you so much!

Tom-wmgy
Автор

I've watched countless programming videos and you easily have been the best true beginner teacher. Thx

toddberner
Автор

I love the way you teach and break things down to the simplest level and make it very easy to understand. your doing great work I will recommend your channel to others.

austinlattimore
Автор

Wow your teaching methods are brilliant. I have a difficult time learning things, but your manner of explaining makes sense to me. Highly impressive.

delltoid
Автор

Video gave feeling of real physical classroom

codeKeshav
Автор

Thanks for dumbing everything down! Your content is golden!

yaishk
Автор

I Absolutely Love Your Choice Of Subjects and How You Present Them, You Are My Favorite Presenter On The"Tube" ~
Love You And The Information You Bring To The Table ~

trtlphnx
Автор

it's amazing how other's can make this subject so complicated... and others can make it sooo easy. great vid 👍

d-rey
Автор

First of all, your videos are THE GREATEST VIDEOS OVER THE INTERNET!

I'd like to suggest to put English subtitles on your videos. I have a friend (she's deaf) and she's starting to learn python/Django, I think she'll learn a lot with them. ❤️

santosbio
Автор

thank you so much! I like your channel because you explain heard things very simply. Well done!!!

vitaliiboiko
Автор

I like your style of sharing knowledge with us is an amazing. Everytime I need to refresh a concept, I get back your channel. Thanks Mariya

MohamedIbrahimEid
Автор

Thank you for properly explaining the For Loop. I'm using an app to learn Python but your videos are much easier to understand what I'm not getting through the app. Thanks!

Romermedia
Автор

I really hoping that mariya you would create a video on this topic and finally you did it

sammylevalthon
Автор

This is what I learned from you. I understood how to think and create from the beginning
Thanks
import random

from sty import fg

class well:
def play(self):
red = random.randint(0, 255)
green = random.randint(0, 255)
blue = random.randint(0, 255)
return red, green, blue
def oscarzoom(self, red, green, blue):
return fg(red, green, blue)

color = well()
red, green, blue = color.play()
print(color.oscarzoom(red, green, blue) + "mohamed")

mohamedoscar-zjvf
Автор

Shalom. I didn’t get a notification about this video so I’m late responding. Just want to say you’re good teacher

shoshanamofaz
Автор

I have watched many videos "for beginners" but pretty much all of them failed at structurally explaining the different components of the syntax. This video provided clear explanations for those who are not familiar with the lingo.

zakmatew
Автор

I am really a fan of explicitly stating the types of function parameters and function returns...wish more people would do that even though you don't have to in python 😉

richi
Автор

good morning,
I'd like to thank you for these videos which I find interesting, well explained and very understandable for those who don't speak English naturally. I've been following you for a while and I'm looking forward to your next videos to learn more now that I've decided to get back to programming in Python for my hobby.
Have a nice day!

brunomaunac