en
Feedback
CBSE COMPUTER SCIENCE

CBSE COMPUTER SCIENCE

Open in Telegram

QUESTION BANK, REFERENCE BOOK, LAB MANUAL , WORKSHEET ETC., PYTHON TEXT BOOK AND REFERENCE BOOKS, 01. ASK QUESTIONS AT https://t.me/joinchat/FJ1noGs-64I0OWI1

Show more
549
Subscribers
No data24 hours
No data7 days
No data30 days
Posts Archive
https://portal.photomath.net/invite/5B57N/?utm_source=expert referral&utm_medium=platform&utm_campaign=expert referral code

12CS 21-22-MCQ-TEST-C010201-ANS.pdf3.60 KB

photo content

photo content

photo content

photo content

photo content

num =int(input('Num:')) while num >0: print(num%10) num = num /10 num=int(input('Num:')) l=[num] for i in l: l.append(i + 1) if num<=0: break print(num%10) num=num/10

while loop to for loop for the given below program

photo content

photo content

send ur output

photo content

photo content

photo content

Execute the above program and send the output

# finding lowest and second lowest integer form 10 integers small = smaller = 0 for i in range(5): n = int(input("Enter Number:")) if i == 0: small = n elif i == 1: if n <= small: smaller = n else: smaller = small small = n else: if n < smaller: small = smaller smaller = n elif n < small: small = n print("First small value:", small) print("scond smaller value :", smaller)

photo content

photo content