Syntax misunderstanding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Syntax misunderstanding

https://code.sololearn.com/c2nYFqN1DGjw/?ref=app I'm playing around in playground and I want to know whay my syntax is wrong

4th Sep 2019, 10:03 PM
manifested shadow
manifested shadow - avatar
2 Answers
+ 3
Are you using // for division? Because if so you only need one /. Also in your first line if you want to raise the fraction to the power you should enclose the fraction in parentheses. It would help to know what you are trying to do.
5th Sep 2019, 12:22 AM
M J
M J - avatar
0
Basically in this i was trying to create a way that could get me the answer to 3/4*4 but use that answer as the start of a loop so that when its finished it'll end at 4.
6th Sep 2019, 4:35 AM
manifested shadow
manifested shadow - avatar