Question: In python 2 CodeLab 2. ? Work Area Results Settings X - 00000-51135 Instructions You have a unique ID number, which is represented by the

In python 2 CodeLab 2. ? Work Area Results Settings X -00000-51135 Instructions You have a unique ID number, which is represented byIn python 2

CodeLab 2. ? Work Area Results Settings X - 00000-51135 Instructions You have a unique ID number, which is represented by the variable id, containing a string of numbers. Write a program that continuously takes strings to standard input. If the string is not your ID number, print "This is not your ID number." If it is, print "This is your ID number: " followed by the number, and terminate the loop. Additional Notes: Regarding your code's standard output, CodeLab will check for case errors and will check whitespace (tabs, spaces, newlines) exactly. Interactive Session ? Visible newlines Visible whitespace Display stdin Display stdout 24601This is not your ID number. Work Area Results Settings X - 00000-51938 Instructions Write a loop that reads positive integers from standard input, printing out those values that are even, each on a separate line. The loop terminates when it rea ds an integer that is not positive. Additional Notes: Regarding your code's standard output, CodeLab will check for case errors and will check whitespace (tabs, spaces, newlines) exactly. Interactive Session ? Visible newlines Visible whitespace Display stdin Display stdout 1 101 3 201 3 301 -1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!