Aug-29-2019, 08:30 PM
I have the updated code that for testing purposes I am cutting / pasting from a editor to the console and it is still producing that error.
But, if I place the code into a file (test.py) and run the code the results are fine.
Would I need to implicitly place a CR to force a line or is there an easier way to do this from editor to console? Want to ensure I can iterate through code changes.
Thanks.
But, if I place the code into a file (test.py) and run the code the results are fine.
Would I need to implicitly place a CR to force a line or is there an easier way to do this from editor to console? Want to ensure I can iterate through code changes.
Thanks.
fruits=['apples', 'bananas', 'oranges'] vowel_names=[] print(vowel_names) for i in fruits: if i[0] in "aeiou": vowel_names.append(i) print(vowel_names)