+ 1

Can anyone help me with this?

name = input("Enter name please:") print("Welcome, " + name) Everytime I enter a word or a name, let's say "Lol" or "Brother" When I'm using the code playground on this app it works, but when I'm using another app, it always show: Traceback (most recent call last): File "script.py", line 1, in name = input("Enter name please:") File "/usr/local/python-3.8.1/lib/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x91 in position 0: invalid start byte

21st Mar 2022, 6:58 AM
kenzie128
4 Answers
+ 1
No, its not showing that error, I just tried it in pydroid3 and it's working fine. See the input and output: Enter name please: hello Welcome, hello [Program finished]
21st Mar 2022, 7:11 AM
NEZ
NEZ - avatar
+ 1
I just tried it in Pydroid 3 and I typed "kenz" Enter name: (it just showed blank "kenz" didn't popped up) Welcome, (just blank again) Do I have to toggle something in the settings of the app or is it my device that is the problem?
21st Mar 2022, 7:16 AM
kenzie128
0
Same thing still pops up. I tried the same using my ios device (i was using an android) and it works. It probably has to be my device...
21st Mar 2022, 9:11 AM
kenzie128