BNDS_ALEVEL_CS_20200228
Question: # using range function def listWithStep ( startValue , endValue , step ) : for i in range ( startValue + step , endValue + step , step ) : print ( i ) return 0 # using while loop def listWithStep_while ( startValue , endValue , step ) : i = start while ( i < endValue and step >= 0 ) or ( i > endValue and step < 0 ) : i += step print ( i ) return 0 # main if __name__ == "__main__" : start = int ( input ( "PLEASE INPUT START VALUE\n" ) ) end = int ( input ( "PLEASE INPUT END VALUE\n" ) ) step = int ( input ( "PLEASE INPUT STEP\n" ) ) print ( "*----------using range function----------*"