0

about print statement

How to print both variable and string in a single line in python?

11th Jul 2018, 4:18 AM
anwesh jami
anwesh jami - avatar
2 Antworten
+ 2
int x=2 print("the value of x =%d", x);
11th Jul 2018, 5:09 AM
Wajeeh
Wajeeh - avatar
0
by using the concatination that this language support it links the string and variable value
11th Jul 2018, 7:48 AM
Abdullahi Abdikadir
Abdullahi Abdikadir - avatar