0

help with understanding it plesae

is this right: print('user'="Rodney")

8th Nov 2022, 4:55 PM
Rodney Dudley
Rodney Dudley - avatar
7 Answers
+ 3
No. Run the code. Look at the output. Do you get an error message? If yes, then it is not right. Please tag the relevant programming language instead of "all".
8th Nov 2022, 5:00 PM
Lisa
Lisa - avatar
+ 2
No it's not right because you can't assign any string constant with another string constant. You can compare them by using '==' operator
8th Nov 2022, 5:01 PM
Random
Random - avatar
+ 1
OK i got it some but thank you so much i will be back with more I'm new to it
8th Nov 2022, 5:44 PM
Rodney Dudley
Rodney Dudley - avatar
+ 1
I'm trying to write a sign in code
8th Nov 2022, 5:46 PM
Rodney Dudley
Rodney Dudley - avatar
+ 1
OK
8th Nov 2022, 5:53 PM
Rodney Dudley
Rodney Dudley - avatar
0
Rodney Dudley Carry on if you have any doubt ask it
8th Nov 2022, 5:50 PM
Random
Random - avatar
0
# Walrus Operator print(user:="Rodney") print(user)
8th Nov 2022, 6:16 PM
SoloProg
SoloProg - avatar