0
Ahh! One more plsss!
M = input M = Input ("Ask about Thor or Hulk:") If M = Thor Print ("Thor is mighty") Now, Suppose i want to ask about Hulk without running the program again what could i do?
6 Answers
+ 2
HiFoX HeaD cool code Idea.
Python uses indentation to indicate a block of code.
I have provided an example on how to get it working. - There are other ways to do this.
This code editor is isn't so great for multi input or repeating programs.
However you can type multilinear input if you know how the code works.
Hulk
yes
Thor
yes
no
Typing hulk will print hulk is mighty.
yes will continue to ask the question again.
no will end the program.
If you want to see how it really works I recommend trying a different compiler.
If you have access to a computer you can run the code here.
https://www.programiz.com/python-programming/online-compiler/
https://code.sololearn.com/csGyY6o56Het/?ref=app
+ 2
Put all that code in a loop.
But there are many syntax errors
+ 2
Hello Chris Coder Thank you veryy much for your time and explaination!đ I Got it how that works and yeh i also use programmiz app
+ 2
Well if you're doing it on SoloLearn platform, here's advice....The platform doesn't accept input multiple times.....Unless multiple inputs in one prompt box
+ 1
Pythoner Thank you for the advice
yeah i dont use this compiler for these type of codes
0
still a newbie đ
.
btw Can you tell me how should i do it