0
Print the squares of the number 1-20each number should be on seperate line next to it the number2 subscripted&equal sign& result
6 Antworten
+ 1
What is the number2?
You'll need to write a program for it, html only won't do.
Please link your code so we can help you!
+ 1
Are you giving us a test or you're looking for a way to do it
0
Lisa it's simple HTML. Just formating. "Print the squares of the numbers 1 - 20. Each number should be on a separate line, next to it the number 2 superscripted, an equal sign and the result. (Example: 10²= 100)"
ps. it's from Codecamp or somewhere else
0
Alexey Kopyshev is it a task from a course? It isn't mentioned, I think. The question is unclear to me, that's why I ask for clarification...
0
Lisa yep, it looks like copy from script for a course. That's why I tried googling it. This task can be found at landofcode.com
0
Here's a quick one with Javascript.
Bonus one with Python.
https://code.sololearn.com/WpV00HMLJ9sv/?ref=app
https://code.sololearn.com/cDQBoXtqnVMO/?ref=app