Fuel your ambition, discover your passion and achieve your professional goals with Let’s Upgrade.
SIgn Up Now
What will be the output of the following Python code? for i in range(10): if i == 5: break else: print(i) else: print("Here")
what will be the output for the following python code? str = 'letsupgrade' for i in range(str): print(i)
PFA , I was trying to print " Hello " " Python " using for loop and range..attached a snap of the question.Can anyone tell me how can it be printed ?