+ 2
x = 1 while x < 10: if x%2 == 0: print(str(x) + "hallo") else: print(str(x) + "world") x += 1
Brother and sister help this programming help error
2 odpowiedzi
0
Here is answer, did you meant that ?
x = 1
while x < 10:
if x % 2 == 0:
print(str(x) + "hallo")
else:
print(str(x) + "world")
x += 1
0
Hey Hacker Tamil Tamila Your Logic Is Right But You Performed Indentation Errors In Your Code And Agt Reda Provided You The Solution Of Your Query.