Hacker News new | ask | show | jobs
by staticassertion 1958 days ago
Something along the lines of...

    code = 'f"{input()} {x}"'

    lambda x: eval(code)
(Please don't do this)
2 comments

    code = 'f"here it is {eval(input())}"'
    (lambda: eval(code))()
k, there we go
Yes, I'll stick to using str.format :)