0

Python VM: Strange Behavior

For https://code.sololearn.com/cger03SST3qK/#py There seems to be some strange behavior where string values seem to get changed ex post factum, e.g. https://foo/bar/baz/qux/? -> https:/../Playground/? Is this a security measure?

7th Aug 2020, 9:24 AM
Ockert van Schalkwyk
Ockert van Schalkwyk - avatar
1 Resposta
+ 1
Nevermind, this is just text replacement performed on stdout sent to the output pane print(u[::-1]) print(u) 10-20-0202=etad_dne&10-10-0202=etad_trats&YEK_OMED=yek_ipa?deef../Playground///:sptth https:/../Playground/?api_key=DEMO_KEY&start_date=2020-01-01&end_date=2020-02-01
7th Aug 2020, 9:53 AM
Ockert van Schalkwyk
Ockert van Schalkwyk - avatar