5 odpowiedzi
+ 11
You can't do that in code playground 🤔
+ 13
Do u want to do something like this?
def func1():
#something
def func2():
#something
x = input('Enter a number')
if x == 1:
func1()
elif x == 2:
func2()
We could help better if you can show your code or what you have tried..
+ 6
the only way is x = input("<stuff>") but if you want mcq questions, then go and learn html. you just do <input type= "radio/checkbox"> multiple times
+ 2
No, when you run the code, and on selecting the input box, you shall have some options like mcq and you have to select one of them
btw nice work
+ 2
thanks