+ 1
How do you make a code that for example asks your name and then alerts hi and whatever you typed in the prompt box
2 Antworten
+ 7
name=input()
print("hi",name)
#this is python
+ 2
var user = prompt ("What is your name?");
alert ("Hi" , user);
This is the JavaScript version