Learn Basic JavaScript by Building a Role Playing Game - Step 3

Tell us what’s happening:

Describe your issue in detail here.

i dont know how to make it work…

Your code so far


<!-- User Editable Region -->

import time 

def loading_screen():
    print("Loading...")

    # Simulate loading process
    for i in range(10):
        print("[{:<10}] {}%".format("=" * i, (i + 1) * 10), end="\r")
        time.sleep(1)  # Simulate loading time (1 second)

    print("\nLoading complete!")

# Call the loading screen function
loading_screen()

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 1

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Hi! What’s the task are you solving? RPG Game Step 3 in the heading, Step 1 in the info and your code looks like something different

i made a new post that one is corect

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.