Skip to main content
Asked a question 3 months ago

Predict the output of the following Python programs. These question set will make you conversant with String Concepts in Python programming language. var1 = 'Hello!' var2 = "LetsUp" print "var1[0]: ", var1[0] # statement 1 print "var2[1:5]: ", var2[1:5] # statement 2

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now