A better eval function, eg 2π = 2*math.pi
Project description
This is a convertor that takes normal mathematical text expressions as String inputs (eg. “2+ln2√π) and return the expression as it would be written in python (2+(math.log(2))*(math.sqrt(math.pi))
To do so
pip install utnamtte
———————–#Method 1———————————
import utnamtte print(utnamtte.tte(“2+ln2”))
————————#Method 2———————————-
from utnamtte import tte print(tte(“2+ln2”))
————————#Method 3———————————
from utnamtte import tte as xy print(xy(“2+ln2”))
watch tutorial on youtube https://bit.ly/ytutnamtte
Change Log
0.0.2 (7/06/2023)
Fixed some bugs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
utnamtte-0.0.2.tar.gz
(4.2 MB
view hashes)