Corsi
AccediInizia a imparare l'IA
Corsi
AccediInizia a imparare l'IA
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

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

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
Is anyone else experiencing this Sololearn issue?
0 Votes
Best language?
0 Votes
How do I keep myself motivated in coding
0 Votes
Bro can you fix yt error?
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
I want to know how to make an Payment App like what I need to learn I need some guidance
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Need suggestions to learn AI and ML
1 Votes
Bug in Completing AI Practice
0 Votes
Duration of heart refilling
0 Votes