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
Built Distribution
File details
Details for the file utnamtte-0.0.2.tar.gz
.
File metadata
- Download URL: utnamtte-0.0.2.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5721b43c1fa5009974a35c540d5d766630d9ea520efbc962a6f378d96500a37 |
|
MD5 | 89ebed15a8949eb5a80f7e4e5261c08f |
|
BLAKE2b-256 | 7824fd7df663dec6cff7302e1ec5f57399925c827bf7d8d9bf0a8c87567c8b65 |
File details
Details for the file utnamtte-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: utnamtte-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32dfeebad00d34482fee566c07efc57baf9dccdf26bbaf9ab748cba9b2906d97 |
|
MD5 | aa284a66a040210ce96d9ea15fa8356d |
|
BLAKE2b-256 | dfeaa143becc59a2a12e087554171de74c41bd7222e96430c202830fb2c98e4d |