Skip to content

Python-2022L/build_in_function_homework

Repository files navigation

Build in Function

build_func01

Given a argument called 'n' type of int , return its absolute value

Input:number.
Output: answer.

Input Output
-8 8

build_func02

Calculate the value of expression: .\

Input:expression.
Output: answer.

Input Output
-2.55

build_func03

Calculate the value: .
Use the pow function

Input:n.
Output: answer.

Input Output
3.5 60.75

build_func04

Calculate the value: .
Use the pow function.

Input:n.
Output: answer.

Input Output
4 4.0

build_func05

Calculate the value: .
Use the pow function

Input:n, x.
Output: answer.

Input Output
3 6 945

build_func06

Round the result to 2 decimal places.
Use the round function

Input:a.
Output: answer.

Input Output
3.456 3.46
7.5 7.5

build_func07

Calculate the value: .
Use the pow function

Input:x, y.
Output: answer.

Input Output
5 2 805

build_func08

Calculate the value: .
Use the pow function

Input:x, y.
Output: answer.

Input Output
7 1 252

build_func09

Calculate the value: .
Use the pow function

Input:x, y.
Output: answer.

Input Output
2 4 160

build_func10

Calculate the value: .\

Round the result to 2 decimal places.
Use the pow function
Use the round function

Input:x, y.
Output: answer.

Input Output
8 4 10.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages