Generation

generate functionSat, 29 Apr 2023

make a for loop that iterates through the "boiler" named List and outputs the String values of it

boiler = ['water', 'heat', 'steam'] def loop(list): for i in list: print(i) loop(boiler)

Questions about programming?Chat with your personal AI assistant