- 2

Python

X=«Friendship» Print (“go to ” + x)

18th Feb 2021, 10:55 PM
Ed_Mar
Ed_Mar - avatar
6 Respostas
+ 3
put quotes around Friendship. Like this: x = "Friendship"
19th Feb 2021, 2:39 AM
Jerry Hobby
Jerry Hobby - avatar
+ 1
you should show what kind of error message you’re getting. I’m guessing it was “name Friendship is not defined“?
18th Feb 2021, 11:36 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
i’m guessing you are translating this to and from another language, which is why your adjusted version has greater than and less than signs rather than quotation marks. Both “friendship” and “go to” should have quotation marks, to clarify. Bummer of a problem to deal with in the translator. I feel empathy for you.
19th Feb 2021, 2:17 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
Забыл, я мог бы просто проверить твою национальность. Хорошо, вот чтобы объяснить: ответ предыдущего пользователя гласит: Поставь цитаты friendship. Вот так: x=“Friendship”
19th Feb 2021, 2:22 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
What is problum?
19th Feb 2021, 1:15 AM
Doaa Amin
Doaa Amin - avatar