import math a=math.pi/6 print('the value of sine of pi/is', end=()) print(math.sin(a)) print('the value of cosine of pi/is', end=()) print(math.cos(a)) code example

Example: find sin python3

import fnmatch
import os
from typing import List


def find_files(pattern, path) -> List[str]:
    """Takes a shell pattern and a path and returns a list of file path strings"""
    result: List[str] = []
    for root, dirs, files in os.walk(path):
        for name in files:
            if fnmatch.fnmatch(name, pattern):
                result.append(os.path.join(root, name))
    return result