0
How can I enter three values in one input ?
9 Antworten
+ 17
This should do...
x,y,z = [int(m) for m in input().split()]
print(x,y,z)
+ 9
@saleh bawazeer: Maybe this could help :-
https://code.sololearn.com/c7t4VF5dgvOO/?ref=app
But it takes input in three different lines..You can also add more inputs, the code will work fine
+ 8
@saleh bawazeer :
https://code.sololearn.com/ceoHgPTN0Ve6/?ref=app
0
sorry not values I mean varublus
0
but not in three lines
0
like
a,b,c=
0
ok can you make a program that enter the markets of three students and if a student get from 90 to 100 print ("good")
and from 50 to 89 print ("pass")
and under 50 print("fall")
0
three students not one @Nikhil
0
@saleh: this is a code that has a populated table with scores but you can specify which score to change. e.g.
Paul
2
100
You can modify it to get more input and change more scores.
https://code.sololearn.com/cKKf3ilbC9bn/?ref=app
Reason for single student is because SoloLearn does not accept input from console. And only accepts batch input.