Python Programming Tutorial – 12 – Functions

Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts

Comments

Sanchit Agrawal says:

plzz zoom the screen size. cant see code clearly. thankyou

vilkas2311 says:

For some reason, nothing happens when i call a function.

def beef():
print(“Dayum, functions are cool”)

beef()

This is the output:

Process finished with exit code 0

MELODY says:

What kind of python are you using?
I mean i use Idle but this thing you are using is completely different

Simran Dhingra says:

hey
i made this code

def abc(n):
amount=n*20
print(amount)

abc(12)
but no output is displayed.can you tell me whats the error

Talha Studios 2 says:

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!

Rajendra Kumbar says:

disliked for “beef”, I’m a vegeterian

M N says:

I have noticed during the Comments and Break tutorial that my print function is a little different. Firstly, the function is typed in orange(the same color as ‘def). Secondly, when I write print(7, “example”), it prints out as (7, ‘example’). Can someone help me?

Sayner says:

How do I assign a name to an age? for example I want to say that: John is 19 years old

banana gaming says:

the problem whith me seems to be if it seems pointless for some reason it won’t remember

polepally venkatesh says:

if only i had watched this video when u made it and knew what a bitcoin was , i need not have to study anymore :p

Mihir Karbelkar says:

Dayum your videos are cool

brian sheppard says:

does the variable ‘btc’ automatically have a numerical value of 1?

Abdullah Omair says:

which software did you use for capturing the screen

victor bizimis says:

Where the hell are the data types ?! Is everything like overloaded ?

cm g says:

can’t see a thing

rabab rachid says:

your tutoriols are extremly great and easy applicated thanks

gijs v d l says:

i made this:

def Bitcoin_to_USD (btc):
amount = btc * 576
print(btc,”bitcoins is”,amount,”US Dollar”)
Bitcoin_to_USD(4)

it diplays: 4 bitcoins is 2304 US Dollar

but when i make it

def Bitcoin_to_USD (btc):
amount = btc * 576,2
print(btc,”bitcoins is”,amount,”US Dollar”)
Bitcoin_to_USD(4)

it displays: 4 bitcoins is (2304, 2) US Dollar

how do i fix the ()?

LazyVFXGuy says:

what’s the difference between Variable and Function?

luigiisgreeny says:

Making tutorials at midnight lol…

MD. Ariful Islam Sagar says:

thanks

WIZZA YT says:

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”)

SURAJ SHARMA says:

How do we perform substraction operation then?

german diez says:

i know c# but im learning python, what language is more useful??

saurabh kambli says:

so you mean Python already know values of USD and Bitcoin ?? hows that?

4Z says:

I did this
def btc_to_usd(btc):
amount = btc * 574
print(amount)

btc_to_usd(10)

the result is 5740 :)

zacktube100 says:

Bitcoin just passed $4000 recently!

Elkhan Hamet says:

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

itzDavy says:

Just realised how old this video when I saw the price of a bitcoin at that time was $576 and it is now $2693.. Wow

Write a comment

*

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours