10. Are these values equal ? Why/why not ?
i) 20 and 20.0 # Yes (ii) 20 and int(20) # Yes (iii) str(20) and str(20.0) # No becuase str(20.0) is equal to ‘20.0’ (iv) ‘a’ and “a” # Yes
10. Are these values equal ? Why/why not ? Read More »
i) 20 and 20.0 # Yes (ii) 20 and int(20) # Yes (iii) str(20) and str(20.0) # No becuase str(20.0) is equal to ‘20.0’ (iv) ‘a’ and “a” # Yes
10. Are these values equal ? Why/why not ? Read More »
A loop which has a control over entry in the loop in the form of test conditions is called an entry-controlled loop. e.g. while loop.
13. What is entry-controlled loop ? Read More »