Bluevine interview question

1. Difference between range and Xrange (python) implement range.

Interview Answer

Anonymous

14 Jun 2018

def validate(start, stop, jump): if start > stop and jump > 0 : print "error!" if start stop : l.append(i) i += jump print l

1