Skip to main content

Strings and numbers

Project description

under testing

Under construction! still adding more functions!

Examples of How To Use

from fun_with_py.strings import String

from fun_with_py.number import Numeric

s = String("hello vowels and consonants")

s = fwp("hello vowels and consonants")

print(s.vowelsInString())

print(s.consonantsInString())

print(s.vowelsCount())

print(s.consonantsCount())

num = Numeric(24)

print(num.reverse())

print(num.isMultipleOf(4))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fun_with_py-1.8.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

fun_with_py-1.8.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page