Skip to content
Sign UpLog In
Profile icon

Aric Miller

@aricmiller
Aric - Male - 6th Grade - Python - Math - Music - Coding - Nintendo
Repls
Community
aricmiller
aricmiller
shared a Post
2 years ago
Why is my CSS not working?
On this repl, the CSS on the file "posts/post-style.css" isn't changing the style of the page "posts/welcome-to-my-blog.htm" and I am not sure why. Co
aricmiller
aricmiller
I still need help.2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Solution try putting this to your HTML page. like that. And if you want to access the images, it's. like that. That should work2 years ago
InvisibleOne
InvisibleOne
Your style.css in inside of a folder to you need to reference that, change href='style.css' to href='images/style.css or move the style.css file to outside of your folder images2 years ago
aricmiller
aricmiller
shared a Post
2 years ago
Hello, world! I am currently working on a AI and I would like to repeat the code, if UserInput == "hi": print(AI_Name + ": Hello!") elif UserInput ==
Coder100
Coder100
Try this code: while True UserInput = str.lower(input("") if UserInput == "hi": print(AI_Name + ": Hello!") elif UserInput == "who made you": print(AI_Name + ": I was made by Aric Miller") if UserInput == "who are you": print(AIName + ": I'm " + AIName + "! I can do lots of things.") if UserInput == "what time is it" or "what is the time" or "time": print(AI_Name + ": " + ".") remember to indent lol! also, this code will always be true: if UserInput == "what time 2 years ago
RYANTADIPARTHI
RYANTADIPARTHI
Solution use either a while loop or a for loop. Based on what's good. for loops repeat for limited, and while do it forever, until the something's met. for for i in range(10): if UserInput == "hi": print(AI_Name + ": Hello!") elif UserInput == "who made you": print(AI_Name + ": I was made by Aric Miller") if UserInput == "who are you": print(AIName + ": I'm " + AIName + "! I can do lots of things.") that repeats for 10 times. while while True: if UserInput == "hi": pr2 years ago
aricmiller
aricmiller
shared a Post
2 years ago
Hello, world! I need help with this problem. I'm not sure why but when I use the code: print("Hello, " + MyName + "! What would you like me to do?") f
RYANTADIPARTHI
RYANTADIPARTHI
it seems to be working.2 years ago
SixBeeps
SixBeeps
add () after you call input on line 52 years ago
btfuss
btfuss
instead of doing: print("Hello, " + MyName + "! What would you like me to do?") do: print("Hello,", MyName, "! What would you like me to do?")2 years ago