make python use python3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
make python use python3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
Python3
Input: nums = [-1,0,3,5,9,12], target = 9
Output: 4
Explanation: 9 exists in nums and its index is 4
python3 to python
alias python=python3
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us