+ 3

Why it don't give output?

I have written a code in ruby and I think why should I not write A to Z? https://code.sololearn.com/ccD44Op4vQdH/?ref=app

5th May 2019, 7:03 AM
Eknoor Singh
Eknoor Singh - avatar
1 Answer
+ 2
What are you trying to do here? What you are actually printing is: 2 to the power 2 to the power 2 to the power ... ** means exponential. 2**3 = 2*2*2 = 8
5th May 2019, 8:04 AM
Kartik
Kartik - avatar