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]):
Why not just use multiple args?
def main(first, second):
Yes, this resolved my minor dilemma. @QwertyQwerty88, thank you!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.