Trouble with numbers and text in the same line (Python 3)
KrystanKlukos (1)

I've been using a code for awhile trying to get text and variables in the same line to print a sentence that depends mainly changing variables based on int(inuput) it doesn't work

You are viewing a single comment. View All
leon332157 (217)

@KrystanKlukos Ok, so first of all, (a-1) is a tuple which contains integer a-1, assigned to b, same for c, and d and e is a tuple with string in it, so if you call print function with these data type, it will not work.