PROGRAMMING:JMU Python piecewise function
This topic requires the calculation of the value of the following piecewise function f (x) (x is an arbitrary real number input from the keyboard)
![ Piecewise function. JPG] (~ / 625099ce-3e8d-4a2f-a719-99929e1e027e. JPG)
###Input format:
The input gives the real number x on one line.
###Output format:
Output in the format of "f (x) = result" in one line, where * * x and result retain two decimal places * *.
###Input example:
```in
zero point seven six
```
###Output example:
```out
f(0.76)=1.20
```
answer:If there is no answer, please comment
![ Piecewise function. JPG] (~ / 625099ce-3e8d-4a2f-a719-99929e1e027e. JPG)
###Input format:
The input gives the real number x on one line.
###Output format:
Output in the format of "f (x) = result" in one line, where * * x and result retain two decimal places * *.
###Input example:
```in
zero point seven six
```
###Output example:
```out
f(0.76)=1.20
```
answer:If there is no answer, please comment