Hi and welcome to Placement Yogi ! You can find all your placement related queries here.
The Website is backed by a strong group of Professionals from Companies like Cisco, McAfee,Juniper,Symphony, TCS, Cognizant.
Our Aim is to get you placed!
And we DO NOT like to FAIL!!
What would len(2 ** 1000000) print in python?
print the value
count the digits in the result
Python automatically provides extra precision for large integers hence no overflow occurs.
But i think length(len()) is a method of string not int or long.