Update README.md
Browse files
README.md
CHANGED
|
@@ -36,3 +36,12 @@ What is the volume of a sphere with a radius of 6 cm?
|
|
| 36 |
"parameters": {"radius": {"description": "The radius of the sphere.", "type": "int"}}}]
|
| 37 |
```
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
"parameters": {"radius": {"description": "The radius of the sphere.", "type": "int"}}}]
|
| 37 |
```
|
| 38 |
|
| 39 |
+
```
|
| 40 |
+
In an examination 80% of the candidates passed in Urdu and 85% in Hindi, while 75% passed in both . If 45 candidates failed in both. Then the total number of candidates was ?
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
```py
|
| 44 |
+
[{"name": "passing_percentage", "description": "Calculates the passing percentage for an exam given the percentage of students who passed each subject, and the intersection percentage of passing subjects.",
|
| 45 |
+
"parameters": {"subject1_percent": {"description": "Percentage of students who passed the first subject (e.g., 85% if Hindi).", "type": "int"},
|
| 46 |
+
"subject2_percent": {"description": "Percentage of students who passed the second subject (e.g., 80% if Urdu).", "type": "int"}, "passed_both_percent": {"description": "Percentage of students who passed both subjects.", "type": "int"}}}]
|
| 47 |
+
```
|