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!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
0
it does work.... just differentiate ur string and numerical by a comma' ,'
11th Sep 2016, 11:59 AM
Ritveak Dugar
Ritveak Dugar - avatar