# Python for i in range to UiPath

Hello again,
Now I have following question
Is this possible to do in UiPath, simple way, our course has started… so here can’t be any complex answer or I haven’t understood this task right way.

"Do multiplication table 1 -10 with loop and print is with Write Line
I know that it can be made by Python

for i in range(1,11):
for j in range(1,11):
print(i * j, end=“\t”)
print(“”)

I do one version with Do While, with two different variables and condition
(figure1 < 10) And (figure2 < 10) + Asisgn as Sum = figure1 * figure2
and with Write Line I get answers like below, maybe it is enough for teacher…
1 x 1 = 1
2 x 2 = 4
3 x 3 = 9

With best regards
Hanna

You want the tables to be displayed using write line right?

You can use two for each loops one inside the other or two do whiles in the same way @HannaM

One will give you the table number and one will multiply the number upto 10.

Can you please explain the question?

Hello,

I try to do something like this
1 2 3…
1 1 2 3
2 2 4 6
3 3 6 9

but I don’t know how to do this…
You can use two for each loops one inside the other or two do whiles in the same way

With best regards

Hanna

hi @HannaM
try to use this
print(num, ‘x’, i, ‘=’, num*i) for print

Thanks
Ashwin S

Hello AshwinS2,

I try now Uipath , Python was just example

Now I am a little bit closer, only that I have my first solution 10 times, with same numbers. Something should be change that i receive also
1x1=2
1x2=2
1x3=3

10x1=10
…and finally
10x10=100

With best regards

Hanna