Lengkap

Creation of simple system in Python

In Part 1, I need a program that loops, prompting the user for their full name, subject code, subject name, their exam result (an integer between 1 and 100), and then writes that data out to file called ‘[login to view URL]’. The program should check inputs for validity according to the following rules:

First, last names and subject name must use only alphabetical characters. No spaces, hyphens or special characters. Names must be less than 20 characters long.

Subject code uses three capital alphabetical characters (no spaces, hyphens or special characters) + three integer numbers. No space between alphabetical characters and integer numbers.

Exam result (an integer between 1 and 100 inclusive)

The file should record each customers information on a single line and the output file should have the following appearance: Nurke Fred ITC106 Programming Principles 58

Write a second program that opens the ‘[login to view URL]’ file for reading and then reads each record, splitting it into its component fields and checking each field for validity.

The rules for validity are as in your first program, with the addition of a rule that specifies that each record must contain exactly 5 fields.

Your program should print out each valid record it reads.

The program should be able to raise an exception on invalid input, print out an error message with the line and what the error was, and continue running properly on the next line(s).

I'll need a flowchart for this code to make it easier to follow and display.

Select at least six sets of test data that will show the normal operation of the program; that is, test data that will demonstrate what happens when a VALID input is entered. Also 4 sets of test data to show abnormal operation.

Set your test results out in a tabular form as follows: test data type, test data, the reason it was selected, the output expected due to using the test data, and finally the output actually observed when the test data is used.

The second part is a different client with a different scenario:

To play the PowerBall lottery, you buy a ticket that has five unique numbers in the range of 1–69, and a “PowerBall” number in the range of 1–26. (You can pick the numbers yourself, or you can let the ticket machine randomly pick them for you.) Then, on a specified date, a winning set of numbers is randomly selected by a machine. If your first five numbers match the first five winning numbers in any order, and your PowerBall number matches the winning Pow-erBall number, then you win the jackpot, which is a very large amount of money. If your numbers match only some of the winning numbers, you win a lesser amount, depending on how many of the winning numbers you have matched.

Kemahiran: Python

Lihat lagi: python script scrapes results google search, python scrape google results, python parse google results, tkinter, how to create a software using python pdf, python tutorial, how to make software in python, software development using python, python projects, python gui, how to create a login system in python using a text file, simple python crawler windows, simple python workflow library, creation simple templates, simple python crawler, simple python games, simple python web crawler, creation simple project flash, ebooks creation simple project flash, make auto set homepage

Tentang Majikan:
( 0 ulasan ) Penrith, Australia

ID Projek: #27412959

Dianugerahkan kepada:

dgsc711

Based on your description this project is extremely simple and will require very few lines: - For part A: Perform a basic "input" loop to gather the data into a string. The inputs can be easily checked for format usi Lagi

$10 AUD dalam sehari
(0 Ulasan)
0.0

19 freelancers are bidding on average $34 for this job

lee339

Hello, Sir. I read your opinion seriously. I have experience of 5 years and done similar projects before. As a man of trust, I can develop your project with full perfection. Let me go on, you can get the best project t Lagi

$20 AUD dalam sehari
(45 Ulasan)
5.2
urmate

Hi there I am a senior programmer with practical development experience in various programming languages. I have read your project descriptions and consider myself a best fit for this job. I have excellent programming Lagi

$60 AUD dalam 2 hari
(20 Ulasan)
4.3
suryanshsingh55

hello sir hope you doing well i will do all the parts of code with full perfection. i am proficient programmer in python and know lots of python libraries and modules. i can do your job as fast as possible. lets discus Lagi

$50 AUD dalam 2 hari
(25 Ulasan)
3.9
kcofodile30

Hi there, I'm a Python Expert. I can create this script for you (Please see my reviews for competency). Payment is not required if you are not satisfied with my work. Thanks Duration: within 2 days Regards, KC

$200 AUD dalam 2 hari
(10 Ulasan)
3.5
fastlabindia

Greeting!. Yours work is one of the tasks that can be done very perfectly by us. We work within your budget, Within your deadline. We are highly experienced Post Graduate Engineers, IT, ITES, Software, Infrastructure P Lagi

$10 AUD dalam 2 hari
(6 Ulasan)
3.7
sameerbairwa07

Hi I read your project very carefully and I think it is a very interesting project and I love to work on this project. I have 3+ years of experience in development. I have done lots of projects in machine learning and Lagi

$20 AUD dalam 7 hari
(1 Ulasan)
2.3
vijithvijayan85

Hi, Thank you for this wonderful opportunity. I have excellent experience in Software Development and Big Data Engineering and Analysis. I believe my abilities would be perfect for your venture. I can finish this job Lagi

$20 AUD dalam 7 hari
(2 Ulasan)
1.4
AiadMesak

Hello friend, I can do that for you in 3 days. I have good skills using python I have done and solved many problems and projects

$20 AUD dalam 7 hari
(1 Ulasan)
0.8
onitasergio15

Hi sir, I am a software engineer student with a lot of experience on python projects, going through simple games developed with pygame, to college projects and django webpages. My work will be done within 5 days ensuri Lagi

$40 AUD dalam 5 hari
(0 Ulasan)
0.0
edires235

I graduated from École polytechnique and Georgia Institute of Technology with a double major in Mathematics and Computer Science with an excellent GPA (4.0). Moreover, I have been working on the software development in Lagi

$25 AUD dalam 7 hari
(0 Ulasan)
0.0
michalj97

I'm intersted in working on that project as it's simple and interesting one as it provides varied tasks. I'd like to know more about your requirements.

$25 AUD dalam 7 hari
(0 Ulasan)
0.0
JonaSalaRold

Good day I read and i understand your proyect i can realize it in python fast and understandable if you want to know more about me contactme!

$30 AUD dalam 4 hari
(0 Ulasan)
0.0
manjunathdc1995

Hi, thanks for your job posting.I read your description carefully and fully understood your main goal of this project. As I am a well experienced python/Django developer, I can implement your requirements perfectly. I Lagi

$20 AUD dalam 7 hari
(0 Ulasan)
0.0
suyogadhikari42

Respectable sir, I can complete this project . I have made this types of program before and can deliver you this project with in time.

$20 AUD dalam 7 hari
(0 Ulasan)
0.0
psp1999

Hi there I can handle the requirements for the program, and deliver the code as required. I'll also perform test sets for the code.

$29 AUD dalam 10 hari
(0 Ulasan)
0.0
pramod08480

I have 6 years of python programing experience. I will provide you clean code with required validations and documentation with test scripts for each validation success and fail scenarios

$25 AUD dalam 3 hari
(0 Ulasan)
0.0
MHashimGhaffar

i am the student of software engineer .Can I do this project, made with any charger, why I am freelancing new and I tell you what date you want the project

$10 AUD dalam 3 hari
(0 Ulasan)
0.0
shwetasaxena0699

Hi! I'm a Python expert, with over 1 year experience dealing with Python , I can help fix your needs. I've previously worked on the exact similar project. When do you need this finished by? I understand how annoying i Lagi

$20 AUD dalam 5 hari
(0 Ulasan)
0.0