On top of search results, here are some great Git resources available online:
Pro Git: This book (available online and in print) covers all the fundamentals of how Git works and how to use it. Refer to it if you want to learn more about the subjects that we cover throughout the course.
Git tutorial: This tutorial includes a very brief reference of all Git commands available. You can use it to quickly review the commands that you need to use.
WEEK NO 1 Intro to Module 1: Version Control
First I have to install Git in each computer???????????!!!!!!!!!!!!
https://git-scm.com/download/win
Instead of new coding we must use the previous codes and extend/add functions/codes because previous codes are alrady tested from bugs and are debugged .
in VCS/Git there are two main utilities DIFFand PATCH
After installatin of GIT we can track the changes in codes.
How can a VCS (Version Control System) come in handy when updating your software, even if you’re a solo programmer? Check all that apply.
Correct
Awesome! Git's distributed architecture means each person contributing to a repository retains a full copy of the repository locally.
Correct
Nice job! With version control, if something goes wrong, we can fix it immediately and figure out what happened later.
Correct
Right on!
Question 3
_____ is a feature of a software management system that records changes to a file or set of files over time so that you can recall specific versions later.
Correct
Right on! A version control system keeps track of the changes that we make to our files.
$ git log --stat it show how many line added or subtracted
Question
$ git diff
show difference b/w last commit file and newly modified file
$ git add -p
This command will show difference b/w previous committed file currently modified file like $ git diff and then prompt us to weather to <stage> it or to <discard> its changes or simply <quit> the command as uder
(1/1) Stage this hunk [y,n,q,a,d,s,e,?]?
If modified files are more then git will ask same question for each file separately
Warning we must not perss <q> it will abord command it means it will NOT ask question for other files once we abord it by pressing <q>
Remember that above command is about for modified and stage difference
modified tracked file->stagged-->commit
According to above Question sked we may press <d> for discard cahnges
After if changes are stagged the command
$ git diff will not show you anything
To seethe difference of after the changes are Stagged run
$ git diff --staged
Week 2 Undoing Things-->Undoing Changes Before Committing
Question
To restore file in modified area But still these file s are not staged
Warning: Thsi command will loss the data/codes permanenty this is very dangerous command.
So you must copy the file before running the this command $ git restore <f>
To revert the code at particular commit id use commadn
$ got revert <commit id>
Question
1.
Question 1
Let's say we've made a mistake in our latest commit to a public branch. Which of the following commands is the best option for fixing our mistake?
0 / 1 point
Incorrect
Not quite. Similarly to resetting a commit, this command entirely replaces the commit. In a public repository, this may cause confusion for other developers.
2.
Question 2
If we want to rollback a commit on a public branch that wasn't the most recent one using the revert command, what must we do?
1 / 1 point
Correct
Nice work! The commit ID is a 40-character hash that identifies each commit.
3.
Question 3
What does Git use cryptographic hash keys for?
1 / 1 point
Correct
Woohoo! Git doesn't really use these hashes for security. Instead, they’re used to guarantee the consistency of our repository.
4.
Question 4
What does the command git commit --amend do?
1 / 1 point
Correct
Awesome! The command git commit --amend will overwrite the previous commit with what is already in the staging area.
5.
Question 5
How can we easily view the log message and diff output the last commit if we don't know the commit ID?
1 / 1 point
Correct
Right on! The git show command without an object parameter specified will default to show us information about the commit pointed to by the HEAD.
means by suing $ git branch <arg according to requirments>
Createing newbranch and switch to that newbranch with cone command
$ git CHECKOUT -b newbranch2
N.B. not use $ git branch here
Week 2 Merging
Question
if we are currenty in master branch to merge newbranch in master
$ git merge <newbranch>
any branch possession/ownership/preoperty is only commited file not any file in modified or stagged areaor untracked file
very very hard and gand phar topic
@) you can create any new branch utill and less you made a new repository
New repo.. is created after first commit on new branch
In newly created git dir first your have to commit a file in master branch then you may add branched i new brancheds in that master branch
@)when new branch is created under master branch
then all the commit ed files in master branch will be committed in new branch you can see the files list in $ ls -l command
Fast Farworrd Merge:
A simple merge. When all the commit s in checkout branch (master) same as the branch is being merged (new branch) 1 or more additional committed files mayu occure in newbranch.
after command at master arbranch
$ git merge <newBranch>
All the new additional newBranch committed files will be added in master branch as committed files. see as under
Week 2 Branching and Merging --> Merge Conflicts
Question
$ git merge --abort
This will stop the merge and reset the files in your working tree back to the previous commit before the merge ever happened
When we merge two branches, one of two algorithms is used. If the branches have diverged, which algorithm is used?
1 / 1 point
Correct
Excellent! A three-way-mergeoccurs when the two commits have diverged previously, and a new commit is created.
2.
Question 2
The following code snippet represents the result of a merge conflict. Edit the code to fix the conflict and keep the version represented by the current branch.
1 / 1 point
1
print("Keep me!")
Keep me!
Correct
You got it! No more conflicts here!
3.
Question 3
What command would we use to throw away a merge, and start over?
1 / 1 point
Correct
Right on! If there are merge conflicts, the --abort flag can be used to abort the merge action.
4.
Question 4
How do we display a summarized view of the commit history for a repo, showing one line per commit?
1 / 1 point
Correct
Awesome! The commandgit log --graph --oneline shows a summarized view of the commit history for a repo.
5.
Question 5
The following script contains the result of a merge conflict. Edit the code to fix the conflict, so that both versions are included.
1 / 1 point
1
2
3
4
5
def main():
print("Start of program>>>>>>>")
print("End of program!")
main()
Start of program>>>>>>>
End of program!
Start of program>>>>>>>
End of program!
None
Correct
Great work! Now the code has both versions without any
conflicts!
Week 3 What is GitHub?
Question
Week 3 Basic Interaction with GitHub
Question
To avoid to enter the password again and again during pull or push use command
$ git config --global credential.helper cached
I think this command is already enabled
Question 1
When we want to update our local repository to reflect changes made in the remote repository, which command would we use?
Correct
Right on! git pull updates the local repository by applying changes made in the remote repository.
Question 2
git config --global credential.helper cache allows us to configure the credential helper, which is used for ...what?
Correct
Nice work! By configuring the credential helper, we can avoid having to type in our username and password repeatedly.
Question 3
Name two ways to avoid having to enter our password when retrieving and when pushing changes to the repo. (Check all that apply)
Correct
Awesome! The credential helper caches our credentials for a time window, so that we don't need to enter our password with every interaction.
Correct
Great job! We can create an SSH key-pair and store the public key in our profile, so that GitHub recognizes our computer.
Week 3 What is a remote?
Question
Week 3 Working with Remotes
$ git remote -v
$ git remote show origin
Week 3
Working with Remotes
Question
$ git branch
command is used see list of local branches in local repository
$ git branch -r
command is use to see list of REMOTE BRANCHES
Week 3 Fetching New Changes
Question
See Remote master branch as origin/master and locaal master branch as HEAD-->mastrer
Some chnage made in github.com and in my local home computer and commit both at their plalaces then in local hame computer i give command
$ git push
In keeping view to CHECK is git and github.com allowing me to OVERWRITE MY changes means changes from local repo to remote repo Overwritten or not
Then I command my local computer
$ git pull
I got CONFICT message to resolve it my local computer then
I have $ git push to SYNCHRONIZE local and remote repo means to synchronize my local repo with github.com repo
Theremany advantages of working differnce branches.
1. During dev if a bug occur in main branch, so will easily able to correct the bug by changing the branch with command $ gitcheckout main
and then $ checkout previous branch and resume the work
2. You may maintain difference versions of program one may be stable version an dother may be BETA version
$ git branch newbra
To copy local branch with its confitectin remote repo
$ git push -u origin newbra
Week 3 Solving Conflicts Rebasing Your Changes
To copy a branch work to main branch one command is
# git merge command
as discuss earlier, another is
REBASE command
Rebasing meaning changing the base commit that is use for our branch
1 . 1 commit on remote repo ogigin/main made some user
2. Three commit s were done in local branch refactor
then locally we do
$ git chekout main
# git pull
Now position is this all three commit in refactor is wonderning , there is no any role of three commits of refactor
refactore's 3 commits are totally out of game as show below
To make all 3 commits of refactor in one straight line we have to run REBASE command on refactor branch as under
By chance this command is applied successfully
otherwise it may show some conficts, which we may have to resolve it
Now to see the history of commits we found a LINEAR hisory in one straight line from point (origion/master, origin/HEAD, master) then 3 commits of (HEAD -> refactor)
Now we have to merge three commits of refactor into master/mainbranch then we to push main branch to remote
Question
Week 3 Solving Conficts Another Rebasing Example
1. I created remote repo in githum.com with name REBASE
2. Copy <code> from gitbub.com to uswe it in $ git clone command
4. made main function by user 1and commit and pushed
5. User 2 pull
6. user 2 made func1user2() commit and pushed
7. user 1 made func1user1
While user 1 was made chnages during user 2 also made changes on same and commit and push it to remote repo
To see the changes in previous video we use command
$ git pull to see any CONFICTS alai chha
it auomatically create THREE-WAY-MERGE video 2:57
Here we use differenct approach to keep the repo log history LINEAR
using REBASE COMMAND
first we use $ git fetch it fetches latest changes done in origin/main .i.e in remote github.com repo
BUT in this stage we are not applying these changes in local repo master of main branch ref: video 3:14
$ git fetch
No any special information is given only to show
$ git log --graph --oneline
No any special information is given
$ git status
Some information is given about difference of local repo main branch and remote repo origin/main
$ git rebase origin/main
Very very handy/precious information in each and every line must read each and every line
about CONFLICT and its Solution etc etc
The infomation includes
1. what try to do
2. What is worked
3. what it can not do
4. What/how to do manual solution as in yellow lines
$ git status
Some information is acquired
$ git log --graph --oneline
$ vi mainprog.py
Now we have remove all confict and confict markers by editing file manually
Now we want to keep bother functions from user 1 ie is I myselfand other function of user 2
$ git status
Very handy and usefulful informatiomation and it also firmation about our next command
fix conflicts and then
run "git rebase --continue" as it will be our next command $ git addd mainpro.py
$ git add mainprog.py
and then
$ git log --graph --oneline
Still same position of commits log graph
$ git status
Now git status incdicates that
(all conficlts fix run "git rebase --continue") so run
$ git rebase --continue
In our modren latest git version it after rebasing also commit automatically
by leading me to vi editor to modify the commit where I modified the previous local commit of function 1 of user 1
$ git log --graph --oneline
Now look the instead to (HEAD -> main ,origin/main, origin/HEAD) in one commit/line
the local HEAD->main branch is commit is separated from remote branch commit (origin/main, origin/HAD)
and also see Local HEAD -> main branch is REBASED /refounded on remote repo (origin/main, origin/HEAD)
It is very similar to what we earlier to merge the changes . But difference is that the commit history ended up LINEAR instead of BRANCHING OUT. videio 7:00
Again
$ git status
o :
-------------------------------
Some problem in QwickLab of Model 3
There is some working TOKEN
A SOLUTION IN DISCUSS FORM WAS GIVEN AS UNDER
solution no 1
Right click wasn't working for me either, but I used the shift + ins shortcut and the classic token worked
SOLUTIONNO 2
i figured it out!!! delete other tokens, just use classic token after you copied the classic token, go to qwiklabs, git push enter username, but don't ctrl+shift+v at password, do right mouse click and enter it will work!
SOLUTION NO 3
I first copied the personal access token and then right-clicked in the console (you don't see the personal access token or anything) then pressed enter and it worked.
SOUTION NO 4
When asking for username and password in the Putty Command screen, after git clone command, paste this same tocken as username and password.
SOLUTION NO 5
For verifying password for git hub it says that services were suspended in august of 2021. we can, however, create a token on our github account and just paste it. although it does not show any text it is already printed there so all you have to do is click enter and it works. To create a token go to your github profile, then go to settings>developer settings>Personal access token. from there just create a token and accept all the boxes given and click create. after this it will give you a code. MAKE SURE TO COPY THE CODE and save it somewhere because you will reuse that code various times through out the lab
==========================
Week 4
Intro to Module 4: Collaboration vid 1
In this model we keep exploring the collaboration tools used by Git.
In simple English craeting a copy of repo in your/my/saeedhisbani login usernameFor example
repo then we change in this fake copy commit then send tis epsitory
Then we pull request to its origional owner of the repo . either he reject or accept our pull request.
no no this is not way to explain but you say theat
so that the owner of origional repo incorporate it into hsi actual/origional repo
This is way of simple explanantion BHAOOOOO
week 4 A Simple Pull Request on GitHub Vid 2
Week 4 The Typical Pull Request Workflow on GitHub Vid 3
github.com
blake-kale/rearrange
<Fork>
saeedhisgani/rearrrange
<Code>
Go to local computer
$ git clone <paste copied url>
$ cd rarrange
$ ls -l
We find there is no readme file
so to create readme file we new branch as named add-reame
$ git checkout -b add-readme
$ vi REAME.md
add some text in the file and save it
Question 1
What is the difference between using squash and fixup when rebasing?
Squash deletes previous commits.
Squash combines the commit messages into one. Fixup discards the new commit message.
Squash only works on Apple operating systems.
Fixup combines the commit messages into one. Squash discards the commit message.
Correct
Awesome! The fixup operation will keep the original message and discard the message from the fixup commit, while squash combines them.
2.
Question 2
What is a pull request?
1 / 1 point
The owner of the target repository requesting you to add your changes.
A request sent to the owner and collaborators of the target repository to pull your recent changes.
A request to delete previous changes.
A request for a specific feature in the next version.
Correct
Right on! You send a pull request to the owner of the repository in order for them to incorporate it into their tree.
3.
Question 3
Under what circumstances is a new fork created?
1 / 1 point
When you want to experiment with changes without affecting the main repository.
When you clone a remote repository to your local machine.
During a merge conflict.
When there are too many branches.
Correct
Nice work! For instance, when you want to propose changes to someone else's project, or base your own project off of theirs.
4.
Question 4
What combination of command and flags will force Git to push the current snapshot to the repo as it is, possibly resulting in permanent data loss?
1 / 1 point
git push -f
git log --graph --oneline --all
git status
git rebase -i
Correct
Awesome! git push with the -f flag forcibly replaces the old commits with the new one and forces Git to push the current snapshot to the repo as it is. This can be dangerous as it can lead to remote changes being permanently lost and is not recommended unless you're pushing fixes to your own fork (nobody else is using it) such as in the case after doing interactive rebasing to squash multiple commits into one as demonstrated.
5.
Question 5
When using interactive rebase, which option is the default, and takes the commits and rebases them against the branch we selected?
1 / 1 point
squash
edit
reword
pick
Correct
Great job! The pick keyword takes the commits and rebases them against the branch we have chosen.
Week 4 What are code reviews? Vid 1
Github have a TOOL for coding review
Question 1
When should we respond to comments from collaborators and reviewers?
When their comments address software-breaking bugs
No need, just resolve the concerns and be done with it
Always
Only when a code correction is necessary
Correct
Excellent! It is good manners and proper conduct to respond, even when it's simply an acknowledgement.
2.
Question 2
What is a nit?
1 / 1 point
A trivial comment or suggestion
A couple lines of code
A repository that is no longer maintained
An orphaned branch
Correct
Good work! In git jargon (and elsewhere in the tech world), a nit is a minor “nitpick” about a piece of code.
3.
Question 3
Select common code issues that might be addressed in a code review. (Check all that apply)
1 / 1 point
Using unclear names
Correct
Excellent! Unclear names can make our code hard to understand.
Following PEP8 guidelines
Forgetting to handle a specific condition
Correct
Alright! If there is a specific condition that could cause a problem and we don't address it, the result could be catastrophic.
Forgetting to add tests
Correct
Woohoo! Tests are an important addition to our code to ensure it runs smoothly.
4.
Question 4
If we've pushed a new version since we've made a recent change, what might our comment be flagged as?
1 / 1 point
Accepted
Resolved
Outdated
Merged
Correct
Nice job! If we push a new version after making a change, old comments are marked with the "Outdated" flag.
5.
Question 5
What are the goals of code review? (Check all that apply)
0 / 1 point
Make sure that the contents are easy to understand
Ensure consistent style
Correct
Awesome! By comparing our code to style guidelines, we can keep our style consistent and readable.
Build perfect code
This should not be selected
Not quite. We can never expect to build perfect code. But code review can help us keep our code clean and understandable, and reduce the most obvious bugs.
Ensure we don't forget any important cases
Correct
Good job. Code review can reveal cases or conditions we need to handle in our code.
Week 4 Managing Collaboration Vid 1
1. There must very documentation of coding
2. Coding must be a very clear and easy must not be complex
So that another teeam member rectify the problem easily
During group Project Management you need Internet COLLABORATION Tools . TWO are very famous and the best collaboration tools
1. Issue Tranker
2. Continous Integration
Week 4 Continuous Integration Vd 3
AUTOMATICALLY
Human can not remember every time to TEST CODE.
sO WE MAKE AUTOMATIC TESTING PROGRAMS TO TEST THE CODES EVERY TIME WE MADE CHANGES
Continuous Deployment
See at video 2:47 Step No 1:
Step No 2:
Step No 3:
Step No 4:
Additional Tools
Check out the following links for more information:
Repeated up to here now start from here 1st Oct 2023
Viedeo No2 Keeping Historical Copies (Programming Scripts like python codes copies) To track changes occur in program. Also to track , Who change the code, Why changing was needed.
Question
To differenciate two files we use following os commands.
1. Diff
Following are Some Graphical Tools to compare two files
2, WDiff
3. meld
4.Kdiff3
5. vimdiff
diff -u old_file new_file > chang.diff
Question
Question
diff and patch Cheat Sheet
diff
diff is used to find differences between two files. On its own, it’s a bit hard to use; instead, use it with diff -u to find lines which differ in two files:
diff -u
diff -u is used to compare two files, line by line, and have the differing lines compared side-by-side in the same output. See below:
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
Apples
Bananas
Oranges
Pears
~$ cat menu2.txt
Menu:
Apples
Bananas
Grapes
Strawberries
~$ diff -u menu1.txt menu2.txt
--- menu1.txt 2019-12-1618:46:13.794879924 +0900
+++ menu2.txt 2019-12-1618:46:42.090995670 +0900
@@ -1,6 +1,6 @@
-Menu1:
+Menu:
Apples
Bananas
-Oranges
-Pears
+Grapes
+Strawberries
~$ cat menu1.txt
Menu1:
Patch
Patch is useful for applying file differences. See the below example, which compares two files. The comparison is saved as a .diff file, which is then patched to the original file!
Patch is useful for applying file differences. See the below example, which compares two files. The comparison is saved as a .diff file, which is then patched to the original file!
Not quite. While the git directory stores some configuration settings, it also stores the history of the changes. The working tree acts as a sandbox where we can edit the current versions of the files.
Incorrect
Not quite. The git directory acts as a database for all the changes tracked in Git and the working tree acts as a sandbox where we can edit the current versions of the files.
The git directory contains all the changes and their history and the working tree contains the
current versions of the files.
Correct
Awesome! The git directory acts as a database for all the changes tracked in Git and the working tree acts as a sandbox where we can edit the current versions of the files.
There are many useful git cheatsheets online as well. Please take some time to research and study a few, such as this one.
.gitignore files
.gitignore files are used to tell the git tool to intentionally ignore some files in a given Git repository. For example, this can be useful for configuration files or metadata files that a user may not want to check into the master branch. Check out more at: https://git-scm.com/docs/gitignore.
A few common examples of file patterns to exclude can be found here.
Practice Quiz: Advanced Git Interaction
Which one command/method is not for viewing or comparing the files in git repository?
git log -p
git diff --staged
git add -p
git mv
Correct
Nice job! git mv won't give you any information on changes. Instead, it is used to move or rename a file or directory in Git.
Q2: What is gitignore file??
A file containing a list of files or filename patterns for Git to skip for the current repo.
Correct
Awesome! The gitignore file is a text file that tells Git which files or folders to ignore in a project.
New files
Old files
Staged files
Correct
Right on! Files that are new and untracked will not be committed before being added.
Question
Week 2 video 1 Undoing Changes Before Committing
Undo changing by $git checkout command
first I change .py file cpu_usage.py and insert a buggy command
and save it and run it
$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: cpu_usage.py
no changes added to commit (use "git add" and/or "git commit -a")
Note that in video it mentioned (use "git checkout <file> ...) before stagging of file
"git restore <file>" restore is during the stagging
Not quite. A fast-forward merge occurs when all the commits in the checked-out branch are also in the branch to be merged, in which case the pointers are simply updated.
Question 2
git checkout -b <branch>
git merge --abort
git log --graph --oneline
git branch -D <name>
Correct
Right on! If there are merge conflicts, the --abort flag can be used to abort the merge action.
git log --format=short
git branch -D <name>
git log --graph --oneline
git checkout -b <branch>
Correct
Awesome! The commandgit $ log --graph --oneline hows a summarized view of the commit history for a repo.
WEEK 3 GITHUB.com
Week 3 video 1 The Pull-Merge-Push Workflow
Question
Made user account in github.com
Add a new repository with health-check as Private not Public.
In my local computer start MINGW64
Now I want to copy the my remote repository in local computers local hard disk, which I just created in github.com as health-check
$ git clone https://github.com/saeedhisbani/health-checks.git this url I copied from my github.com account <CODE> option
in green color
This will copy remote repo in my local disk . health-check dir , auto made by clone commanmd
Then a t local computer we add line in README.md file save it.
$ git commit -a -m 'Add one more line in README.md'
Now there is diff b/w local and remote repo
To copy loca repo to remote repo we only execute folloing command
$ git push
Question
Basic Interaction with GitHub Cheat-Sheet
There are various remote repository hosting sites:
Follow the workflow at https://github.com/join to set up a free account, username, and password. After that, these steps will help you create a brand new repository on GitHub.
Question 1
When we want to update our local repository to reflect changes made in the remote repository, which command would we use?
git clone <URL>
git push
git pull
git commit -a -m
Correct
Right on! git pull updates the local repository by applying changes made in the remote repository.
Question 2
git config --global credential.helper cache allows us to configure the credential helper,
which is used for ...what?
Troubleshooting the login process
Dynamically suggesting commit messages
Allowing configuration of automatic repository pulling
Allowing automated login to GitHub
Correct
Nice work! By configuring the credential helper, we can avoid having to type in our username and password repeatedly.
Question 3
Name two ways to avoid having to enter our password when retrieving and when pushing changes to the repo. (Check all that apply)
Implement a post-receive hook
Use a credential helper
Correct
Awesome! The credential helper caches our credentials for a time window, so that we don't need to enter our password with every interaction.
Create an SSH key-pair
Correct
Great job! We can create an SSH key-pair and store the public key in our profile, so that GitHub recognizes our computer.
Use the git commit -a -m command.
Question 4
Name the command that gathers all the snapshots we've taken and sends them to the remote repository.
git commit -a -m
git push
git pull
git clone <URL>
Correct
Excellent! git push is used to update the remote repository with our local changes.
Question
Git supports a variety of ways to connect to a remote repository. Some of the most common are using the HTTP, HTTPS and SSH protocols and their corresponding URLs.
HTTP is generally used to allow read only access to a repository. In other words, it lets people clone the contents of your repo without letting them push new contents to it.
Conversely HTTPS and SSH, both provide methods of authenticating users so you can control who gets permission to push.
But in some cases, you can have the fetch/pull URL use HTTP for read only access, and the push URL use HTTPS or SSH for access control.
Remote repositories have a name assigned to them, by default, the assigned name is origin. This lets us track more than one remote in the same Git directory.
Creating, Reading and Writing $ pip install pandas $ python3 >>> import pandas as pd >>> pd.DataFrame({'BOB':['Ist column of BOB','IInd col of BoB'],'SUSE':['Ist col suse','II col suse']}) BOB SUSE 0 Ist column of BOB Ist col suse 1 IInd col of BoB II col suse >>>pd.DataFrame({..same as above---},index=['Prouct a ',' Product b']) >>> pd.Series([30, 35, 40], index=['2015 Sales', '2016 Sales', '2017 Sales'], name='Product A') 2015 Sales 30 2016 Sales 35 2017 Sales 40 Name: Product A, dtype: int64 >>> reviews=pd.read_csv('/mnt/d/wine.csv') >>> reviews show the contents of file wine.csv >>> reviews.country >>> reviews['country'] to see only country column >>> reviews.iloc[0] return only one row >>> review.il...
MAIN COURSE Google IT Automation with Python Professional Certificate Having 6 crouse 1st course was Python Crash which I have DONE got certificate . My friend say 'bati bana kar gand meen dalo' Course No 2 Using Python to Interact with the Operating System ------------------------------ course 2 week 5 added By inputting emp name the program will return its email address By inputing Blossom Gill program will return his email aress blossom@abc.edu Our job is to 1. add a test means test cases like basic_test Edge_test see the bugs, 2. make the necessary corrections in email.py Python file to correct the bugs 3. verify that all the tests pass to make sure the script works! 4. This is The End Lab . Best of luck! and Congrautulations Once again, in other words, same matter/problem as mentioned above What you'll do In this lab, you will: Write a simple test (basic test )to check for basic functionality Write a test...
Comments
Post a Comment