Hello everybody, I'm a beginner in python, I just started today with it, and I created the following file in Linux :
cat fonction.py
What is missing ? And how to make it work by launching python fonction.py
The goal is to calculate the area of a circle
Thank you
cat fonction.py
#!/usr/bin/python from math import* def aire(rayon): A=pi*rayon**2 return(A)Nothing happened when I ran from the terminal the following commands : python fonction.py
What is missing ? And how to make it work by launching python fonction.py
The goal is to calculate the area of a circle
Thank you