Python Tutorial 27 - Defining Functions

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


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

note to those who are using python 2.x
if you use the function
def percent(x, y):
    print(x*((y/100.)+1))

make sure to use 100. or 100.0, because python 2 treats x/y as asking how many whole number times does y goes into x

dalambert
Автор

this is a lot easier than reading a 300 page book on python

dalambert
Автор

concat(caleb, curry) does not work .
it gives me error caleb, and curry have not been defined.
whats wrong if i dont use quotes

dalambert