Hi the community,
Working on an exercise about lists in Computer Science path. I had to print this :
print(“we sell”+ str( num_pizzas)+ " different kind of pizza!")
But I don’t know why, i decided to write that:
print(“we sell”, num_pizzas, “different kind of pizza!”)
I was surprised to see that it worked fine, no need to convert int in str. Why? Do you have an idea?