New submission from Mohammad Sadra Sharifzadeh <m.s.sharifz...@gmail.com>:

I want to know whether some string is in same string or not (yeah the SAME) 
in the file attached I have two expressions:
1- print('اندیمشک' in 'اندیمشک')
2- print('اندیمشک' in 'اندیمشک')
as you can see both of them are same thing but if you run the program you see 
it returns True for first one and False for second one. the difference between 
two expressions is that in the first one I typed both of the strings but in the 
second one I copied second string from a file and type first string

Thanks

----------
files: string bug.py
messages: 382140
nosy: m.s.sharifzade
priority: normal
severity: normal
status: open
title: string in string not working
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file49638/string bug.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42511>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to