Posts

Showing posts from February, 2017
DAY 2 select the correct option what part of an if statement should be indented? All of it The first line The statement within it indentation is not require which statement ends the current iteration and continues with the next one? break for continue while what is the result of this code?? >>>nums=list(range(5)) >>print(nums(4)) 4 1,2,3,4,5 5 0,1,2,3,4 What is the output of the following code? >>>while 4 == 4: print('4') 4 is printed once 4 is printed four times 4 is printed infinitely until program closes Syntax error What is the output of the following code? >>>if None: print(“Hello”) Nothing will be printed Hello hello Syntax Eror In Python, for and while loop can have optional else statement? Only for loop can have optional else statement Only while loop can have optional else statement Both loops can have optional else statement Loops cannot have else statement in Pyt...

Training

Image
Python training is going to be held from 27th february  2017 (Tuesday) including all the NIT club members of 3rd and 5th semester. Requirement: laptop  Time: 3-5 pm NOTE: Non NIT club member can also participate with       a registration of Rs. 50.uiou