Correct the following program so that it displays 33 when 3 is input.
val=input("Enter a value")
nval=val+30
print(nval)
Answers
Answered by
2
techniques for writing programs that process input and simulate activities ... Suppose we change the program so that the condition of the while loop is ... Look at a scenario with simple val-.
Similar questions
English,
3 months ago
Psychology,
7 months ago
Computer Science,
7 months ago
Math,
10 months ago
Hindi,
10 months ago
Social Sciences,
10 months ago