I’m new to coding, and learning online, the instructor on udemy, asked to wrtie a code using ( function , and return) feature to get the outcome of bmi(Body Mass Indicator), supposing your weight is 65 kg, and height is 1.8.
The outcome should be 20, yet i keep getting error in the syntax.
I tried entering the code in different methods when it comes to get the weight to the power of 2,