Skip to content

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
@bearlike bearlike force-pushed the master branch 2 times, most recently from 506e767 to ff2ad70 Compare September 17, 2021 14:14
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