Vitajte na [www.pocitac.win] Pripojiť k domovskej stránke Obľúbené stránky
Otvorte Python editor
2
Typ : .
S = ' this_is_a_string_test ' ;
s = s replace ( ' _ ' , '' ) ; . " Enter "
tlač s
3
Stlačte
Python odstráni všetky podčiarknutia a nahradí ich prázdne miesto . V tomto príklade , Python vytlačí " thisisastringtest " .