Can anyone help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help?

Im trying to create a small game and don't know how to make the first line be first. Like I don't want to input be first I want the text be first. I tried using message but it didn't work. https://sololearn.com/compiler-playground/cJlTk506O6Pd/?ref=app

14th Mar 2024, 6:46 PM
Michael ThaBest
Michael ThaBest - avatar
5 Answers
+ 3
Hello Michael ThaBest Unfortunately this is not possible on Sololearn. Wherever you put your input() statement in your code, it will always be the first. Use an IDE if you have a computer or you can use Pydroid (not sure about iPhone but it's available for Android) if you only have a smartphone.
14th Mar 2024, 6:53 PM
Denise Roßberg
Denise Roßberg - avatar
+ 3
Okay, but will it work on vscode
14th Mar 2024, 6:54 PM
Michael ThaBest
Michael ThaBest - avatar
+ 2
Yes. :)
14th Mar 2024, 6:56 PM
Denise Roßberg
Denise Roßberg - avatar
0
Eeee messi
15th Mar 2024, 10:57 PM
Messi Messenger
Messi Messenger - avatar
0
print("Choose A Number And I Will Guess It!") number = int (input("type the the number u r thinking: ")) print(f"Is It {number} number")
16th Mar 2024, 1:00 AM
record28
record28 - avatar