Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ git add demo.py
git commit --message "Solved the first challenge of the workintech :)"
git push origin master
```

## Tamamlandı 🎉
8 changes: 6 additions & 2 deletions demo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Demo module: circle area calculation"""

import math

def circle_area(radius):
"""Returns the area of the circle of given radius"""
pass # YOUR CODE HERE
"""Calculate the area of a circle given its radius."""
if radius < 0:
return 0
return math.pi * radius**2