How to change python version?

  • 0

    I'm new to leetcode so I apologize in advance if my question is very elementary.
    I answered my question by writing python code in my IDE. When I copy and paste it on leetcode, it gives me a compile error. I'm using Python 3. I think leetcode is using Python2. How can change my leetcode version to be python3?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.