hausaufgabe--python 17- Function definition

000-- Euclidean algorithm

running result:

001-- Decimal to Bin:

Running result:

002-- DRY principle : Don't Repeat Yourself

003-- using a tupel as a parameter for a function is not applicable. But we still can make it. 

004-- a funtion to calculate x^y

原文地址:https://www.cnblogs.com/Shareishappy/p/6974154.html