
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Please help
![Assignment:
Create a program which does the following:
1. Asks the user for 5 numbers and stores them in an array.
2. Prints out the numbers entered.
3. Stores the index numbers where the user input values
are greater than than 100.
Cree un programa que haga lo siguiente:
1. Imprime los números ingresados.
2. Imprime los números ingresados.
3. Almacena los números de índice donde los valores de entrada
del usuario son mayores que 100.
An example of possible output is shown below:
Output
[201, 100, 155, 90, 65]
The index numbers having values >100 are:
0. 2](https://content.bartleby.com/qna-images/question/108bae79-2fb2-411e-afd1-fd11ef5c2bb0/c61e47ca-3a6c-46dd-9a1e-2a7883f76b86/ujgzk1a_thumbnail.jpeg)
Transcribed Image Text:Assignment:
Create a program which does the following:
1. Asks the user for 5 numbers and stores them in an array.
2. Prints out the numbers entered.
3. Stores the index numbers where the user input values
are greater than than 100.
Cree un programa que haga lo siguiente:
1. Imprime los números ingresados.
2. Imprime los números ingresados.
3. Almacena los números de índice donde los valores de entrada
del usuario son mayores que 100.
An example of possible output is shown below:
Output
[201, 100, 155, 90, 65]
The index numbers having values >100 are:
0. 2
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps with 1 images

Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Transcribed Image Text:LAB ASSIGNMENTS
IMPORTANT: you should complete the PDP thinking process for each program. Turn in items:
1) fullname_regex.py - Ask the user to enter the source text to search, such as the name_source variable here:
name_source = input('Enter full name in this format - first middle last').
Then, you can adapt the first two code lines from lesson slide 13, to search this new source. Edit the code to match
the new situation and change the regex pattern to identify text that could be a full name.
Hints: Initially write your regex pattern to check if the user enters three words separated by a space. Then, strive to
make the regex adaptable if the person's full name has more than or less than 3 words. Then, think about allowing
(not requiring) common characters like a period, hyphen or '. Slides 11-13 should be helpful.
08
For printing, end with a conditional block that provides an appropriate message if there is a match or not.
Match
Enter your full name: first middle last Betty Lou Who
Here is the name:
Betty Lou Who
No Match
Enter your full name: first middle last 867-5309
This doesn't look like a name.
Challenge 1
Enter your full name - first middle last d'Angelo Smith-Brown
Here is the name: d'Angelo Smith-Brown
Solution
by Bartleby Expert
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Transcribed Image Text:LAB ASSIGNMENTS
IMPORTANT: you should complete the PDP thinking process for each program. Turn in items:
1) fullname_regex.py - Ask the user to enter the source text to search, such as the name_source variable here:
name_source = input('Enter full name in this format - first middle last').
Then, you can adapt the first two code lines from lesson slide 13, to search this new source. Edit the code to match
the new situation and change the regex pattern to identify text that could be a full name.
Hints: Initially write your regex pattern to check if the user enters three words separated by a space. Then, strive to
make the regex adaptable if the person's full name has more than or less than 3 words. Then, think about allowing
(not requiring) common characters like a period, hyphen or '. Slides 11-13 should be helpful.
08
For printing, end with a conditional block that provides an appropriate message if there is a match or not.
Match
Enter your full name: first middle last Betty Lou Who
Here is the name:
Betty Lou Who
No Match
Enter your full name: first middle last 867-5309
This doesn't look like a name.
Challenge 1
Enter your full name - first middle last d'Angelo Smith-Brown
Here is the name: d'Angelo Smith-Brown
Solution
by Bartleby Expert
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- hi there, may i please get some help with a contingency tablearrow_forwardYour company's mail server informs you that your password has changed and you must confirm it. The password hasn't changed. Changed password: why? Which computers and software provide an attacker password reset information?arrow_forwardWhat methods may be utilized to improve email correspondence? Please provide detailed instances.arrow_forward
- Please I need the answer to this question. Thank you. Question 2: What are the laws that pertain to email forensics?arrow_forwardMake sure you know how to differentiate between the various data command types.arrow_forwardYour company's mail server informs you that your password has changed and you must confirm it. The password hasn't changed. Changed password: why? Which computers and software provide an attacker password reset information?arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education