Skip to content
forked from Carreau/ftuple

Mostly a Joke. This is not a serious project. Or is it....

License

Notifications You must be signed in to change notification settings

adamchainz/ftuple

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

F-Tuple

F-strings are fabulous, why can't we make the same with Tuple and lists ?

Now you can:

In [1]: from ftuple import f

In [2]: h = "Hello"

In [3]: w = "World"

In [4]: f"{h} {w}"
Out[4]: 'Hello World'

In [5]: f({h}, {w})
Out[5]: ('Hello', 'World')

In [6]: f[{h}, {w}]
Out[6]: ['Hello', 'World']

About

Mostly a Joke. This is not a serious project. Or is it....

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Python 100.0%