Hello guys ,
I have some promlems with python 3.5.0 , i have a code that works on python version 2.7 but it is not working on 3.5.0 version.
I need some help if anyone able to rewrite or convert my code to 3.5.0 vers.
I am adding the link of the output.(when we compile code output seem to be like that)
""""http://s11.postimg.org/a4oayddsj/Ads_z.png""""
Here is the code i write :
N = 10
for i in range(0, N):
for j in range(0, N):
if j == 0:
print ("%-5d % (i + 1)")
num = (i + 1)*(j + 1)
print ("'%-5d' % num")
print ("\n")
Thanks.
I have some promlems with python 3.5.0 , i have a code that works on python version 2.7 but it is not working on 3.5.0 version.
I need some help if anyone able to rewrite or convert my code to 3.5.0 vers.
I am adding the link of the output.(when we compile code output seem to be like that)
""""http://s11.postimg.org/a4oayddsj/Ads_z.png""""
Here is the code i write :
N = 10
for i in range(0, N):
for j in range(0, N):
if j == 0:
print ("%-5d % (i + 1)")
num = (i + 1)*(j + 1)
print ("'%-5d' % num")
print ("\n")
Thanks.