I need help. Please help me guys. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

I need help. Please help me guys.

How to write an algorithm that outputs the first twenty powers of two.Use at least one variable.Recall that a power of two is 2¹, 2², 2³, …

2nd Mar 2022, 5:17 PM
WEBOS AGARRAS
10 Answers
0
Please tag the relevant programming language. Hint: * use a loop * use the exponentiation operator * output to console If you need help, please show your code.
2nd Mar 2022, 5:31 PM
Lisa
Lisa - avatar
+ 1
To solve the task, you need to know * print() * exponent operator * for loop All these topics will be covered in the Python for Beginners course on sololearn. I suggest you to do the course and then show your own code attempt.
3rd Mar 2022, 12:40 AM
Lisa
Lisa - avatar
0
👉 MENTION THE PROGRAMMING LANGUAGE I gave you some hints on how to approach the problem. Please show what you tried so far, so we can see what the issue is (👉SHOW YOUR CODE)
2nd Mar 2022, 6:07 PM
Lisa
Lisa - avatar
0
You must know which programming language you learn. Mention the PROGRAMMING LANGUAGE.
2nd Mar 2022, 11:44 PM
Lisa
Lisa - avatar
0
Its python
2nd Mar 2022, 11:46 PM
WEBOS AGARRAS
0
How do you make it
3rd Mar 2022, 12:53 AM
WEBOS AGARRAS
0
Because im writing it on paper, its an assignment. This is the question. Write an algorithm that outputs the first twenty powers of two. Use at least one variable. Recall that a power of two is 2¹, 2², 2³, …
3rd Mar 2022, 12:54 AM
WEBOS AGARRAS
0
Show your attempt! I told you how to approach the problem. If you can't come up with an attempt, the task is too difficult for you at the moment. You need to learn the basics first before you do this task.
3rd Mar 2022, 8:15 AM
Lisa
Lisa - avatar
- 1
Hey im confused, this is for computer science but i dont know what or how to do it. Please, id appreciate your help. Anyone.
2nd Mar 2022, 6:04 PM
WEBOS AGARRAS
- 1
How tho, i dont know anything, i just know we started using IDLE
2nd Mar 2022, 10:45 PM
WEBOS AGARRAS