Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6
If the code requires two inputs You'll need split ( to give the program the two required things) E.G. def print_two_things(): x = input("x") y = input("y") print(x) print(y) print_two_things() As you see two inputs required The program will ask you for input So you'll enter Value for the first input Value for the second input
23rd Dec 2018, 4:25 PM
Ahlin Chan
Ahlin Chan - avatar