Println in python

Println in python
0.0 0


how do we do println in python with the value being integer? I can do print(‘12’+’\n’) but this prints string not integer?


Use type conversion in python Default is str in python unless you convert to int

a = ‘100’


You are trying to concat a str with a str which will result in str.

use type(a) to verify