Python Programming Tutorial - 12 - Functions

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

i thought learning programming is so boring, until i found this channel.
I'm computer science student btw, so thanks for saving me.

itsbluecheetah
Автор

These tutorials are pretty great. I'm glad Cap cleared your name before Black Panther killed you. I mean...thanks

personMN
Автор

Bucky, I was working through a long course to try and learn python and some other things. You have already blown by the other course I paid for and I completely understand everything you have said. THANK YOU!!!!

jamminb
Автор

bucky you are infact a legend man working at night when everyone is asleep and having and here you are teaching how to code....just awesome!

talhaahmed
Автор

Goodness me, the price of bitcoin in 2014.

TheAbhinavverma
Автор

ive read and looked at examples but the way you explained it really has given me a great understanding!! Thanks bro! :D

athungerforce
Автор

def speedcalculator(distance, time):
speed = distance/time
print(speed)
speedcalculator(10, 2)


After watching this video, I just logically predicted and wrote this piece of code and it worked perfectly! Thanks bucky!

saifahmed
Автор

I wish i watched your videos 3 years ago and bought a couple of bitcoins :P

tarunkolla
Автор

Haha finally someone who can explain Functions in a way I can understand! It's just beef!

Denproductions
Автор

BTW a variable of a function is specifically called a parameter

gjd
Автор

def Multiplo(N):
    if N%4 is 0:
        print(N)



for X in range(1, 100):
    Multiplo(X)
YAY! I did it! thanks to you Bucky!!!

Guinhulol
Автор

This has been my favourite episode yet! :D

adiljawad
Автор

absolutely brilliant, iv been learning functions for a couple weeks but you taught me more in five minutes.

roisinomalley
Автор

Thanks to this video I made a PFT class calculator (for the USMC).
if p=points for your pull ups, c=points for crunches, and r=points for your run time.

def score():
    points=p+c+r
    if points>=225:
        print('1st class PFT')
    elif points>=175 and score<225:
        print('2nd class PFT')
    elif points<175 and score>=135:
        print('3rd class PFT')
    else:
        print('Failed PFT')

pretty simple, and I would like to figure out a way to program the ability to display the points for what you did, but other than that, this is already a program I'll be using soon (yes, I am aware that there are better, easier to use calculators out there for this, but it's the idea of getting a real life use out of something I made that's so awesome.)

everettlogan
Автор

your tutoriols are extremly great and easy applicated thanks

rababrachid
Автор

A little script I made:

def printer():
question2 = input("What do you wanna print?")
print(question2)

question1 = input("Do you want to see what a printer does? say ok.")

if(question1 == "ok"):
printer()
else:
print("I don't understand that")

merlijnsmit
Автор

Bucky, when are we actually going to make a project using python. An actually useful program ( an executable program ) that perform certain tasks. It can be anything ( even a simple calculator ). I think it would be just cool to have a program that is actually in your desktop with an actual icon ready to be clicked, open and used. This would be awesome! 

gdsn
Автор

If my mans actually had the Bitcoin in 2014 he’s up right now $527 per coin 🥴 amazing tutorials btw I’ve been watching these all day today it’s my first day trying to learn coding

HoussamChabouh
Автор

I love Python functions, mine will be called def leppard from now on. Joe Elliott would be pleased!!!

elkhanhamet
Автор

Hi Bucky! I am using your tutorials to learn python and they are absolutely great. However, sometimes I can't really read what you are typing!! Is it possible to zoom in?

shadisajedi