You are not logged in.

#1 2017-12-08 04:51:23

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

Following set of commands are executed in shell, what will be the...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
Following set of commands are executed in shell, what will be the output?
>>>str="hello"
>>>str[:2]
>>>

Option A):
he
Option B):
olleh
Option C):
hello
Option D):
lo

Correct Answer is Option A):
he

2017-12-08 04:51:23

Advertisement
Ads By Google

Re: Following set of commands are executed in shell, what will be the...



Board footer