Skip to content

Conversation

@BhupaliRane
Copy link

No description provided.

Copy link
Owner

@Tushar-OP Tushar-OP left a comment

Choose a reason for hiding this comment

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

Please do the required changes

def arrayCheck(nums):
# CODE GOES HERE
num=[1,3,5,7]
for i in num:
Copy link
Owner

Choose a reason for hiding this comment

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

The Program is wrong please recheck the error
Don't use num the function already has a parameter nums
and Don't use num for For Loop.
There is a index out of bound error if you run this code.


def stringBits(str):
# CODE GOES HERE
l=len(str)
Copy link
Owner

Choose a reason for hiding this comment

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

Why did you take L?

# CODE GOES HERE
l=len(str)
print(str)
print(str(0:l:2))
Copy link
Owner

Choose a reason for hiding this comment

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

Wrong slicing syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants