ch
Feedback
CBSE COMPUTER SCIENCE

CBSE COMPUTER SCIENCE

前往频道在 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

显示更多
549
订阅者
无数据24 小时
无数据7
无数据30
帖子存档
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

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

send ur output

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)