Ask coding questions

← Back to all posts
how its this incorrect
AMREL1 (0)

am sure that this coding is correct

Comments
hotnewtop
Vandesm14 (2737)

I moved your post to the Ask board which is for asking questions

Coder100 (18208)

use parentheses, not {!
like this;

name = "amr"
final_greetings = " how are you ,{name} "
amr_greetings = final_greetings.format(name)
print(amr_greetings)

name = elsisi
elsisi_greetings = final_greetings.format(name)
print(elsisi_greetings)