首页 > 代码库 > hausaufgabe--python 17- Function definition

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

技术分享

 

hausaufgabe--python 17- Function definition