What is the output of the following program : x="Hello " x=x+" world" print(x) *
Hello world
Hello
world
none
Answers
Answered by
1
An output device is any piece of computer hardware equipment which converts information into human readable form. It can be text, graphics, tactile, audio, and video. Some of the output devices are Visual Display Units i.e. a Monitor, Printer graphic Output devices, Plotters, Speakers etc
Answered by
1
= str(123)
= str(123)x = "hello" * 3
= str(123)x = "hello" * 3print (x , y)
= str(123)x = "hello" * 3print (x , y)x = "hello" + "world"
= str(123)x = "hello" * 3print (x , y)x = "hello" + "world"y = len(x)
= str(123)x = "hello" * 3print (x , y)x = "hello" + "world"y = len(x)print (y, x)
Similar questions