in Technology by

What is the output of print str if str = 'Hello World!'?

1 Answer

0 votes
by

It will print complete string. Output would be Hello World!.

Related questions

0 votes
    What is the output of print str + "TEST" if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[2:] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[2:5] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What is the output of print str[0] if str = 'Hello World!'?...
asked Nov 23, 2020 in Technology by JackTerrance
0 votes
    What will be the output of print str[2:5] if str=’hello world!? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp ... >>>print(temp.id) a) 12 b) 224 c) None d) Error...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What will be the output of the following Python code? class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp ... >>>print(temp.id) a) 12 b) 224 c) None d) Error...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    . 1. Find the output of the following programs. (a) 10 LET AS = “HELLO” 20 LET BS = “FRIENDS” 30 PRINT AS:BS 40 END Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Simran write a code print: (“hello friends”)but when she executed there comes an error what was the error and why did it occur Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    What is the code to print hello one second from now? (a) setTimeout(function() { console.log( ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What will be the output of the following Python function? len(["hello",2, 4, 6]) a) Error b) 6 c) 4 d) 3...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What will be the output of the following Python expression if x=56.236? print("%.2f"%x) a) 56.236 b) 56.23 c) 56.0000 d) 56.24...
asked Jan 2, 2023 in Technology by JackTerrance
0 votes
    What is the output of print tuple + tinytuple if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 ) and tinytuple = (123, 'john')?...
asked Nov 24, 2020 in Technology by JackTerrance
0 votes
    What is the output of print tinytuple * 2 if tinytuple = (123, 'john')?...
asked Nov 24, 2020 in Technology by JackTerrance
0 votes
    What is the output of print tuple[2:] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?...
asked Nov 24, 2020 in Technology by JackTerrance
...