Creating a Function with a Parameter | Python Tutorial for Beginners

preview_player
Показать описание

This tutorial will provide you with step-by-step guidance on how to make your first Python function with a parameter!

Once you know how to define a basic function in Python, it’s time to learn how to create a function with a parameter. If we look at the function we wrote in the previous lesson, there was no value to return – it printed a certain statement. This time, we will create a function that will do a specific calculation for us, using parameters. Awesome, right? Watch the video to learn how!

365 Data Science is an online educational career website that offers the incredible opportunity to find your way into the data science world no matter your previous knowledge and experience. We have prepared numerous courses that suit the needs of aspiring BI analysts, Data analysts and Data scientists.

We at 365 Data Science are committed educators who believe that curiosity should not be hindered by inability to access good learning resources. This is why we focus all our efforts on creating high-quality educational content which anyone can access online.

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

Can I use this to program a drone? I got an E in maths so i wasnt good at maths, but this seems logical and not maths which is good

stevealt
Автор

If anyones sees this at some point and cann help me...what am I doing wrong? I type in everything just as in the video but the result doesn't show, am I missing something?

selectanother