+ 1

Can you solve this output problem please thank you

https://code.sololearn.com/cj8pJ97OQ6nK/?ref=app

25th Oct 2022, 2:35 PM
Samir Hassanzadeh
Samir Hassanzadeh - avatar
4 Antworten
+ 1
For you to get the values of x, y and z, remove the quotes. Values between quotes are interpreted as literal strings. Also, if you need a list with these values, you can assign a list directly: list_variable = [<Value 1>, <Value 2>, ...]
25th Oct 2022, 7:09 PM
Emerson Prado
Emerson Prado - avatar
+ 4
you are appending a string instead of the variable to your list, just do this instead mohsah.append(x) mohsah.append(y) mohsah.append(z) I hope this help :)
25th Oct 2022, 2:44 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 2
What do you expect as an output?
25th Oct 2022, 2:43 PM
A͢J
A͢J - avatar
+ 1
I want to make a list and user inputs the values of x ,y,z then these values be in list of mohsah
25th Oct 2022, 2:45 PM
Samir Hassanzadeh
Samir Hassanzadeh - avatar