Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

first

# -*- coding: utf-8 -*-
n, q = input().split()
n = int(n)
q = int(q)

while n != 0 and q != 0:
    
    vetor = [None] * n
    for i in range(len(vetor)):
        vetor[i] = (vetor[i])
            
        
    q2 = int(input())
    for i in range(len(vetor)):
        if vetor[i] == q2:
            print("CASE# 1:\n" % q % " found at " % i)
        

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.