Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

5. What is the output of this program if number 4? Your ans utee number int (input ('Enter a number: ')) um - for i

image text in transcribed
5. What is the output of this program if number 4? Your ans utee number int (input ('Enter a number: ')) um - for i in range (number+1): print(i, tum) 6. What is the output of this program? nums2, 4. 6, 9, 10] for x in nums: Your a continue print(x) 10 7. What is the output of this program? Youra nums 1, 3, 5, 6, 9, 10 for x in nums : x#2 break if != 1; print (x) 8. What is the output of this program? Your 1 total-0 2 for count in range (1,10, 2): if(count %2 !-0): total += count bebe print ('total-', total) 9. What is the output of this program? for row in range (5): for col in range (5): if row == 0 or col-0 or row-4-col: print (', end) else: print(' ', end- print ()

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions

Question

Explain quality culture building in an organization.

Answered: 1 week ago