0

Somebody saying me its output is apple bpple cpple but it show loop error i cant understand

Start='abcdefg' end='pple' For letter in start: Print ('letter'+'end')

14th Apr 2020, 10:43 AM
Satyam jaiswal
Satyam jaiswal - avatar
1 Respuesta
+ 3
You declared start as S and used s in for loop.. Also indentation error in second and fourth lines... Also, f should be small in for loop... Remove quotes for letter and end in the print statement... Surely you will get the required output 👍 start='abcdefg' end='pple' for letter in start: print(letter+end) It should be like this...
14th Apr 2020, 10:48 AM
sarada lakshmi
sarada lakshmi - avatar