+ 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😀✨🙏
11 Respuestas
+ 12
UmV6YQ== 🇮🇷
Thanks 🙏✨
+ 10
♤♢☞ 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 ☜♢♤
Thank you so much
It's really good and help full🙏✨
+ 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
+ 7
No
10**x
X is input and I can't specify it
+ 7
Abhay
anyway, thanks✨
+ 6
Pls link your code in description si people can check out the errors
+ 5
Donya Khoobani this is how you calculate power in python 10**x or whatever instead of x
+ 4
10**1
10**2