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³, …
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.
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.
👉 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)
You must know which programming language you learn. Mention the PROGRAMMING LANGUAGE.
How do you make it
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³, …
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.
Hey im confused, this is for computer science but i dont know what or how to do it. Please, id appreciate your help. Anyone.
How tho, i dont know anything, i just know we started using IDLE