- I Cs6 Double Write A Function Double Which Takes A Float As An Argument And Returns Twice The Value Of The Argument 1 (22.32 KiB) Viewed 22 times
+ I CS6 - Double Write a function double, which takes a float as an argument and returns twice the value of the argument
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
+ I CS6 - Double Write a function double, which takes a float as an argument and returns twice the value of the argument
+ I CS6 - Double Write a function double, which takes a float as an argument and returns twice the value of the argument. double(2.0) -> 4.0 double(2.5) -> 5.0 Below your function definition, call the function passing in the parameter 5.0 and print the return value of the function to output. /home/functions.py Spaces: 4 (AL Terminal