Announcement

Collapse
No announcement yet.

Having Trouble with python 3.5.0

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Having Trouble with python 3.5.0

    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.
    Last edited by suhell; 10-16-2015, 04:47 AM.
Working...
X