Println in python

Println in python
0.0 0

#1

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


#2

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

a = ‘100’

print(int(a))

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

use type(a) to verify