Question: how do i fix that portion about extra trailing newline nunber-input(Pick a number ) 1t nunber--42: Write a problem that asks the user for a

how do i fix that portion about extra trailing newline
nunber-input("Pick a number ") 1t nunber--"42": Write a problem that asks the user for a number. If the number is equal to 42 your program should work like this: print"You guessed rightl") Pick a number:42 printo You guessed rightl If th riutriber has any uther value your pr tigi am shculd do nothing. Submissions Output Testing the first example in thequestion. Your submission did not produce the correct output. Your program output: Pick a number: 42 You guessed rightl when it was meant to output: Pick a number: 42 You guessed r ightl Your output has an extra trailing neline character
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
