+ 5
Python
J = 'true' if J != 'true' 'smaller' 'bigger': print(4) Guys first i saw this i thought this would produce an error but it worked... How.. How is it calculated... I mean there is no ',' between them so hoe is it executed... And its always true.... Even if u change J value... Im not a beginner but this is new to me
7 Answers
+ 8
You can line up several strings like this and they automatically meld into one.
That's convenient when you want to format your code:
print(
'This is line one, but actually '
'this is still line one.'
)
More details:
https://code.sololearn.com/c9a0cG9dpVUr/?ref=app
+ 3
Thanks alot... It was really hard to search this on Google (tough my English is not that much good too).. Thanks againâ€ïž
0
Exactly
0
/--4
0
skkso
- 5
If py < java:
Print ("true")
Else:
Print ("u r noob")