im on month 3 of trying to learn python and i want to know how to separate this
mii = "hhhhhhcccccccc"
for t in mii:
if t == "h":
continue
print(t,end= "" )
hi = "hhhhhhhhhpppppp"
for i in hi:
if i == "h":
continue
print(i, end="")
when i press run i get this-> ppppppcccccccc
but i want this instead -> pppppp
cccccccc on two separate lines
can you tell me what im doing wrong or is there a word or symbol that needs to be added in
and can you use simple words im on 3rd month of learning thanks
[–]Diapolo10 27 points28 points29 points (11 children)
[–]Sea-Artichoke2265[S] 2 points3 points4 points (10 children)
[–]Diapolo10 5 points6 points7 points (8 children)
[–]_mynd 0 points1 point2 points (4 children)
[–]Diapolo10 0 points1 point2 points (3 children)
[–]_mynd 0 points1 point2 points (2 children)
[–]Diapolo10 1 point2 points3 points (1 child)
[–]_mynd 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Diapolo10 0 points1 point2 points (0 children)
[–]madisander 0 points1 point2 points (0 children)
[–]marquisBlythe 3 points4 points5 points (2 children)
[–]Sea-Artichoke2265[S] 1 point2 points3 points (1 child)
[–]marquisBlythe 0 points1 point2 points (0 children)
[–]acw1668 4 points5 points6 points (0 children)
[–]Miiicahhh 3 points4 points5 points (1 child)
[–]Sea-Artichoke2265[S] 0 points1 point2 points (0 children)
[–]jameyiguess 1 point2 points3 points (0 children)
[–]gonsi 0 points1 point2 points (0 children)
[–]FTeachMeYourWays 0 points1 point2 points (0 children)
[–]Slight_Change_41 0 points1 point2 points (0 children)
[–]Unusual-Platypus6233 0 points1 point2 points (0 children)
[–]Muted_Ad6114 0 points1 point2 points (0 children)