Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harikishore B - 2nd Year CSE A 180501052 #148

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Harikishore B - 2nd Year CSE A 180501052 #148

wants to merge 7 commits into from

Conversation

Harikishore4461
Copy link
Contributor

No description provided.

@Harikishore4461 Harikishore4461 changed the title Harikishore B Harikishore B - 2nd Year CSE A 180501052 Oct 13, 2019
@bearlike bearlike added Submission Assignment submissions made by enrolled students. Batch 1 Student of Batch 1 (CS-2022) labels Oct 13, 2019
@bearlike bearlike added this to the Assignment 2 Submissions milestone Oct 13, 2019
l.append(a)
print("The students present were:")
for j in l:
z="P" in j
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a flaw in your logic here. Checking if 'P' is in the string will lead to marking people with 'P' in their names present, even when they are absent. Think of the following test case:
Priya-A

Your code will mark Priya as present even when absent. Correct the code, commit the changes and comment acknowledging the same.

Copy link
Contributor

@jyuvaraj03 jyuvaraj03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve the error in occurances.py

@jyuvaraj03 jyuvaraj03 self-assigned this Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Batch 1 Student of Batch 1 (CS-2022) Submission Assignment submissions made by enrolled students.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants