0

How to output values in a single line?

Input: 19 My program: x=int(input()) if (x/10)//1==1: print('X') if x%10==9: print('IX') Output must be: XIX Output I have: X IX

17th Apr 2020, 1:51 PM
PUFFIN Channel
PUFFIN Channel - avatar
2 Antworten