Hello, my name is @sky. I just need some rudimentary assistance, so do any of you know how to create a Python arg w/ multiple types? For instance, I require an input that is both a list and a string.
Pretty sure the only way to do this is get a list as a parameter:
def spam(eggs: list[list, str]):
2 Likes
Why not just use multiple args?
def main(first, second):
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.