Yes, when you’ll be learning Python frameworks like Django and Flask for web app development, you’ll have to learn JavaScript for client side scripts. Both are fairly nice languages but it is advisable to take it one at a time . Try to learn Python first and then get started with JavaScript once you get a grasp of it.