A program that continuously takes strings to standard input

Assignment Help Computer Engineering
Reference no: EM132114967

In Python:

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.

Reference no: EM132114967

Questions Cloud

Create a program that finds longest word in the dictionary : Write a program that finds the longest word in the dictionary that is spelled using only those six letters.
Determining the probability of households : If you randomly select a US household the purchase sugar, what is the probability that the selected households spends between $7.00 and $9.00 on sugar.
The target market alternatives for the new commodore : HC2022 Market Research - discussion of the target market alternatives for the new Commodore - discussion of the alternative ways of defining the ‘Population'
Intersection flashing red lights : Suppose that only 20% of all drivers come to a complete stop at an intersection having flashing red lights in all directions when no other cars are visible.
A program that continuously takes strings to standard input : You have a unique ID number, which is represented by the variable id, containing a string of numbers.
How many ways are there to assign students : There are 100 students at a school and three dormitories, A, B, and C, with capacities 25, 35, and 40, respectively.
Members of the club refuse to serve together on the committe : How many ways if, in addition, one particular man and one particular woman who are members of the club refuse to serve together on the committee?
What is the probability that a randomly selected : What is the probability that a randomly selected depth is less than 3.40 meters?
What is the probability that the machine : If we randomly select one day this month, what is the probability that the machine will notify the bank?at the machine will notify the bank?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd