Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ordo= raw_input("masukkan ordo")
- ordo= int(ordo)
- nilai= 1
- X= 0
- Y= 0
- temp= ""
- while X<ordo:
- while Y<ordo:
- temp= temp + str(nilai) + " "
- nilai= nilai + 1
- Y= Y + 1
- else:
- print temp
- temp= ""
- Y= 0
- X= X + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement