Why not working degrees. Why if, for example, 5 ^ 2 output is an error, not 5^2 = 25 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Why not working degrees. Why if, for example, 5 ^ 2 output is an error, not 5^2 = 25

Why not working degrees. Why if, for example, 5 ^ 2 output is an error, not 5^2 = 25 Чому не працюють степені.Чому якщо, наприклад: 5^2 вивід є помилкою, а не 5^2=25 https://code.sololearn.com/cJ2zllc68ZoH/?ref=app

21st Apr 2019, 3:37 PM
KolaTender
KolaTender - avatar
4 Answers
+ 3
Yes, but this character is used in the code only as an input. The problem is in the code, but thank you all the same.
22nd Apr 2019, 2:23 PM
KolaTender
KolaTender - avatar
+ 3
Thank you all for the feedback. Well, I've already fixed the error Дякую усім за відгуки.Добре, що я уже виправив помилку
22nd Apr 2019, 7:05 PM
KolaTender
KolaTender - avatar
+ 1
yeah, this ^ sign is not use in programming for raise to power, they will probably be a function for that in CS or you can do a*a
21st Apr 2019, 9:27 PM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 1
Depending on what language you are using, “^” may not necessarily represent exponentation. For instance, “**” in Python or the power function can be used for exponentation, but not “^.”
22nd Apr 2019, 3:10 PM
Nicole Dorgu
Nicole Dorgu - avatar