+ 1
Big error in my code :(
5 odpowiedzi
+ 3
Cristopher Cabrera
Yes it's possible to take more than one input
i/p= 2 3 4
x,y,z=map(int,input().split()) or
x,y,z=input().split()
you should use split () function
Don't use white/blank space for indentation use tab keyword.
Here you need to enter all input at once, example
2
1 2
https://code.sololearn.com/cKcrvU75Gb86/?ref=app
Check this code...
Now i am not getting any errors but i don't know weather this code result is same as your expected result.
+ 3
Cristopher Cabrera
n,m=int(input("Qué asiento quiere?\n"))
Your taking two input at once, so you need to split the input
n,m=map(int,input().split ())
Check else if statement..
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2278/?ref=app
b[0][1][2]=" usando 01 "," usando 02 "," usando 03 "
are you trying to edit string...?
String is immutable...
If your trying to add " usando 01 "," usando 02 "," usando 03 " these elements to list then use 'insert' method
b.insert(pos,item)
+ 1
Tank you
+ 1
#Ajith
I am learning pythom3, in the tutorial it does not appear how to declare two variables, thank you very much for the help, greetings from Perú :)
0
I update it, but now another problem and a doubt, it is possible to declare two variables in an input??