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!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
0
it does work.... just differentiate ur string and numerical by a comma' ,'
11th Sep 2016, 11:59 AM
Ritveak Dugar
Ritveak Dugar - avatar