You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this exercise, you demand to use 3 print outputs, but we can use only 2 to optimize code and bytes. It was a limitation for who is python developer with some knowledge. It's not a bug but should be a improvement. What do you think?
Your solution:
print("hi")
greeting = input("Shall we continue? ")
while greeting != 'no':
print("hi")
greeting = input("Shall we continue? ")
print("okay then")
My suggestion:
greeting = input("hi\nShall we continue? ")
while greeting != 'no':
greeting = input("hi\Shall we continue? ")
print("okay then")
The text was updated successfully, but these errors were encountered:
In this exercise, you demand to use 3 print outputs, but we can use only 2 to optimize code and bytes. It was a limitation for who is python developer with some knowledge. It's not a bug but should be a improvement. What do you think?
Your solution:
My suggestion:
The text was updated successfully, but these errors were encountered: