can we use a string nd a numeric calculation in same 'print' function? Like print('Hello world!\n'1+1) its not working I m | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

can we use a string nd a numeric calculation in same 'print' function? Like print('Hello world!\n'1+1) its not working I m

5th Sep 2016, 9:12 PM
Harry Andrison
Harry Andrison - avatar
1 ответ
0
it does work.... just differentiate ur string and numerical by a comma' ,'
11th Sep 2016, 11:59 AM
Ritveak Dugar
Ritveak Dugar - avatar