+ 19

Code problem

Hello I want to write a code that shows powers of ten Like this 1 10 100 1000 10000 100000 But I have problem and the code does not work I will be happy if you guide me😀✨🙏

24th Aug 2020, 2:06 PM
Donya Khoobani
Donya Khoobani - avatar
11 odpowiedzi
+ 12
UmV6YQ== 🇮🇷 Thanks 🙏✨
27th Aug 2020, 10:03 AM
Donya Khoobani
Donya Khoobani - avatar
+ 10
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤ Thank you so much It's really good and help full🙏✨
24th Aug 2020, 5:46 PM
Donya Khoobani
Donya Khoobani - avatar
+ 7
I wanted to do this But I use Ubuntu for coding And unfortunately I can not send from Linux to Windows my code is something like this #python X = int (input ()) i=0 While i<x: j =0 While j<i+1: """"I don't know How to calculate the power of ten"""""" j=j+1 i=i+1 Print () Calculating the power of ten is my problem Out put: 1 10 100 1000
24th Aug 2020, 2:35 PM
Donya Khoobani
Donya Khoobani - avatar
+ 7
No 10**x X is input and I can't specify it
24th Aug 2020, 2:42 PM
Donya Khoobani
Donya Khoobani - avatar
+ 7
Abhay anyway, thanks✨
24th Aug 2020, 2:48 PM
Donya Khoobani
Donya Khoobani - avatar
+ 6
Pls link your code in description si people can check out the errors
24th Aug 2020, 2:15 PM
Abhay
Abhay - avatar
+ 5
Donya Khoobani this is how you calculate power in python 10**x or whatever instead of x
24th Aug 2020, 2:52 PM
Abhay
Abhay - avatar
+ 4
10**1 10**2
24th Aug 2020, 2:37 PM
Abhay
Abhay - avatar