: N^N
Write a function called exactly NtoN() which takes a number (integer or float) as its sole parameter and returns the value of that number raised to the power of itself.
def NtoN(n):
return n**n
Intentionally made CW
: N^N
Write a function called exactly NtoN() which takes a number (integer or float) as its sole parameter and returns the value of that number raised to the power of itself.
def NtoN(n):
return n**n
Intentionally made CW
精彩评论