+ 4
How can i read two inputs in a same line in Python
here two values means different data types. I want to read int and string in sameline
3 odpowiedzi
+ 4
It's not possible in Python (see below chapter- 3 dots indicates 3 chapter,in the middle chapter it says - integer and string cancatenation isn't possible)
https://www.sololearn.com/learn/Python/2427/
+ 3
input(),input()
5,"ram"
0
what do you mean?
this?
intvar = 1
strvar = "abc"
print(strvar + str(intvar))