Answer to Question #310972 in Python for Rajesh

Question #310972

A group of people playing a game They are standing in a line each carrying a card with a number on it. this numbers or given in the list A. A random number S is selected


1
Expert's answer
2022-03-13T15:11:22-0400
n = input("Enter 1st number: ").split()
s = int(input("Enter 2nd number: "))
i = s
j = len(n) - s
for i in range(i, j):
  print(i, end=' ')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS