Multitask problems | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Multitask problems

HI In my python courses, I will have to solve a problem, with multi-input and I must answer them. When I run my program for the first Input and get the right answer, I facing new input, when I change my program for new input and run It, 2nd answer will right but the first answer will wrong. Please Help me solve this confusion.

26th Apr 2021, 2:52 AM
pour panah
pour panah - avatar
3 Answers
+ 4
Just as a=input() b=input() c=input () Don't write as a=input ("enter any value")
26th Apr 2021, 2:58 AM
Sâñtôsh
Sâñtôsh - avatar
+ 1
a,b,c=input(),input(),input()
26th Apr 2021, 4:15 AM
Shadoff
Shadoff - avatar
0
HI In my python courses, I will have to solve a problem, with multi Test-case and I must answer them. When I run my program for the first Test-case and get the right answer, I facing a new Test-case, when I change my program for a new Test-case and run It, the 2nd answer will right but the first answer will wrong. Please Help me solve this confusion.
28th Apr 2021, 11:28 AM
pour panah
pour panah - avatar