+ 1

Can anyone please explain me...

how this code is working... I'm confused in "word". What it is here in this code.... "word" is any internal command in Python...if it is than what it does https://code.sololearn.com/csS464HKY5Jo/?ref=app

8th Jun 2019, 5:58 AM
Prince
Prince - avatar
1 Answer
+ 2
That is just naming your variable for the loop. It could be anything: for i in words: print(i + "!")
8th Jun 2019, 6:05 AM
Airree
Airree - avatar