

Puneeth Rajkumar won the National Film Award for Best Child Artist for his role of Ramu in Bettada Hoovu. In 2012, Puneeth also hosted the first season of Kannadada Kotyadhipati, the Kannada version of the Hindi show Kaun Banega Crorepati, hosted by Amitabh Bachchan.

Abhi, Veera Kannadiga, Mourya, Aakash and Milana are some of his hits. Such was the popularity of the film that fans started referring to him as Appu as well. In 2002, Puneeth made his debut as a lead actor with Appu. Vasantha Geetha, Chalisuva Modagalu, Eradu Nakshatragalu and Bettada Hoovu are some of his best films. Puneeth Rajkumar also appeared as a child artiste in several films. Speaking to a news publication in 2014, Puneeth Rajkumar had said, “The name Power Star has been given to me by my fans and they are my power."

The term Power Star was coined for him by his fans and for that, he was ever grateful. One of the highest paid actors, Puneeth Rajkumar starred as the lead actor in 29 films. The rest of the 23 films were screened for more than 100 days on the big screen. So If we count the number of 1 bit's in a binary number and if it is equal to 1, then the given number is power of 2, otherwise it is not.Of the 29 films in which he starred as a lead actor, 6 did not complete 100 days of screening. If you look at the binary values of all powers of 2, you can see that there is only one bit True.
#Apower code#
Many beginners won't know how code like (n != 0) and (n & (n-1) = 0) works.īut if we want to check whether a number is a power of 2 or not, we can convert the number to binary format and see it pretty clearly. The following code checks whether n is a power of 2 or not: def power_of_two(n): The code I used for these measures can be recreated in this REPL. Bit manipulations are simple operations, not calling any functions. log2 is said to be more accurate, and probably more efficient. This is because math functions use floats, and those have an inherent accuracy problem.Īccording to the math docs, the log with a given base, actually calculates log(x)/log(base) which is obviously slow.
