Krish
2 months ago
Krishcountry asked

Is console.log() in javascript is same as print() in python

Kelish Rai
Expert
2 months ago
Kelish Rai answered

Yes, console.log() in JavaScript is similar to print() in Python — both are used to display information to the console or terminal.

JS
This question was asked as part of the Learn JavaScript Basics course.