[issue37988] Issue found during language name processing in a list

2019-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This code derived from the blurry image lst = ['malaysian', 'malayalam', 'a'] ip = input('word ') li = len(ip) miss = 0 for word in lst: if len(word) == li: for j in range(li-1): # skip last because of lookahead if word[j] !=

[issue37988] Issue found during language name processing in a list

2019-08-30 Thread Steven D'Aprano
Steven D'Aprano added the comment: It may help if you read this: http://sscce.org/ It is written for Java programmers but it applies to Python as well. Don't expect us to re-type your code from a hard-to-read, out-of-focus, low-resolution photo of your monitor. Copy and paste the code into

[issue37988] Issue found during language name processing in a list

2019-08-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach the code snippet as text instead of screenshot so that it would be helpful to copy paste and run. In the issue please add a description of what's the output you are expecting and what's the actual output? Thanks --

[issue37988] Issue found during language name processing in a list

2019-08-30 Thread SYAM PARAKASH,AJAY KUMAR
New submission from SYAM PARAKASH,AJAY KUMAR : I found an error in processing language name like Malayalam,English.. in a list created using Python 3.6.1 -- files: IMG_20190830_162306__1567162571_88362.jpg messages: 350869 nosy: AjaySyam priority: normal severity: normal status: open