Q.What will following code print?
str1 = '''Hell o''' str2 = '''Hell \ o''' print (len(str1)>len(str2))
Answer =
You can understand by Watching video :-
>>>True
Because : Str1 = hell\no
Str2 = hello
str1 = '''Hell o''' str2 = '''Hell \ o''' print (len(str1)>len(str2))
Answer =
You can understand by Watching video :-
>>>True
Because : Str1 = hell\no
Str2 = hello
its false
ReplyDeleteYou are wrong Please watch video.
DeleteIt is false sir, i tested out the exact same code on Python, its showing False
ReplyDeletePlease Watch video link :- https://www.youtube.com/embed/m_ckhFlTyNU
Deleteits surely false sir
ReplyDeletePlease watch the video.
Deletein this code we got a false
ReplyDeletebut in textbook str=2 in backslash has no space
Please send me pic
Deleteit is true....we checked in python
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )