Do you want a piece of code to repeat and repeat itself in Python? Well, read this guide and find out!
use while True: to make code repeat and repeat. For example, let’s say you want Hello, World! to continuously be printed onto the screen. You would use the following code:
while True:
print(“Hello, World!”)
Then save and run. You should see the text “Hello, World!” repeat continuously on the screen. Try doing other stuff than just “Hello, World!” and see what happens!
Cheers!
Epic Chas Gamer π
Hey, so your using python to program your web browser? I’m making one too and I’m going to make it with c++ π
LikeLiked by 1 person
Yeah! I am using Python! I know your browser will be awesome too! Sorry to say that in the first build of ECG SeaSurf there won’t be a bookmarks bar sorry. I wonder whether you could post some tutorials on your blog about coding in C++ π
LikeLike
Yeah, I might make a tutorial on how to make a browser in c++ π
LikeLiked by 1 person
Cool! I will also write tutorials on my blog of how to make a more basic web browser with a different name in Python.
Development of ECG SeaSurf is going really well at the moment.
Please reply to my comment if you want to π
LikeLike
Hey Brandoboy! Just to say I have added a new feature to my unreleased web browser: a Go! button. Cheers! Epic Chas Gamer π
LikeLike
That’s awesome!!
LikeLiked by 1 person
Thanks! I am trying to add lots to ECG SeaSurf. I am planning to add a tools menu soon π
LikeLike
Yeah, same here! π
LikeLiked by 1 person
Great idea! If you want to create a more limited web browser in Python, check out my create a basic web browser in Python posts! π
LikeLiked by 1 person
All right, will do!
LikeLiked by 1 person
Thanks! Remember, I am still writing tutorials about basic web browsersπ
LikeLiked by 1 person