[Tutor] Squaring every digit in number

2015-11-21 Thread Aadesh Shrestha
arr: list.append( i*i) str1 = ''.join(str(e) for e in list) return int(str1) ******** Aadesh Shrestha ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.o

[Tutor] How can this code be made even better ?

2015-08-06 Thread Aadesh Shrestha
nd:'+mo.group()) Thanks **** Aadesh Shrestha ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor