• + 2 comments

    Hi, Can I please ask someone to explain the input to me on HackerRank? Why is that if I try: print(input.split(" ")) I just get a 10, while I expect a list numbers in str format. But if I try print(list(map(int, input().split(" "))) I get a list? I have even tried to just print the input: s = input() print(s) but I only a 10 in stdout. How does the input() look like?