Обсуждения
Hey guys im trying to male a simple login use variables and inputs. Can i have some help with my code! A syntax error keeps coming up where i state
x = v.
print 'Hello User'
x = 'Tanner'
v = input('ENTER YOUR NAME HERE')
if x = v
print ('\n Welcome Tanner!')
else x != v
print ('\n User Not Found!!')
0 голосов
9 ответовCan i write a function outside an object and associate it with multiple different objects sharing some common property upon which the function operates (turning it to a method for all these objects)? If not , whats the use of defining a method outside the object and assigning it to an object property?
4 голосов
4 ответовfunction can_i_enter(age)
if (age < 6) { document.write ("you are not allowed to watch Dead pool after 6:00pm.");}
else if (age>=6 && age<17) {document.write("you must be accompanied by a guardian who is 21 or older.");}
else if (age>=17 && age<25) {document.write ("you are allowed to watch Dead pool, right after you show some ID. ")}
else if (age>=25) { document.write ("Yah! you can watch Dead pool with no strings attached!");}
else { document.write ("Invalid age. ");}
can_i_enter (24);
0 голосов
9 ответовi need help writing this code
-1 голос
1 ответabout size/resize, and measurements: when assigning width or height, px is often! how many px's are there per inch or per cm? for width, it is convenient, with some other measurements applicable, but for height? px's is rather imperceptible! I tried to attribute a certain height in my code, what is best: px, rows, number of lines or what?
1 голос
3 ответовhi everyone,
I have learn basic java,c++ and eclipse more than 3 times, I know everything about basic, but what is next, is this for just making simple input/output programs?
I want to STEPUP but I Dont have any idea
I want to become a professional Android developer, pls give some suggestions.
q. only for experts
1 голос
3 ответовhello every one
it is a usefull advice in learning this html course , leave html5 at the bigining & learn java script completly because in some sections (from 10/19 to end of the course) you need basic & even advance knowledge of JS . then your able to return to previous course & learn html5 easier.
goodluck.
1 голос
3 ответовabout svg. Q1: when setting up layout size, height & width, do we need an extra layout for some things different from the first layout. ie two layouts?
Q2: what is the purpose of the size? how does it affect graphics in it?
Q3: how to treat problem of over lapping or/and over ridding?
1 голос
2 ответовI am doing a project proposal.
my project is about :stock manager program and stock notifier
I had to write some info abt it ,
manual system:
limitations of manual system:
benefits of proposed computerized program :
I am not getting any idea what to write
will any one suggest me please🙏
2 голосов
1 ответHi, I need assistance aka HELP!
I've done this calculation in various ways some of printed nothing but zeros non stop.
Using while loop calculate all numbers 1 to 1000 add numbers to sum = sum + i
int sum = 0;
// use a while loop to calculate the sum of 1 to 1000
While(int sum = 0; sum >= 1000; sum = sum + I){
System.out.println(sum);
}
0 голосов
4 ответовI will like to ask this question, but I don't know if is beyond the scope of this learning. it's about Gethashcode (), Tostring () Gettype () etc. I will like a little enligthment. The definition and overriding in a class, though I have gotten some definition, but I will like if someone could throw more light on it's usage.
0 голосов
2 ответовI have a project in school and i want to add some login functions. know im planning to make an external js and there i will get the input of the user.In the login button i will put there the username input but how do i cancel the funtion if the users input is null and where should i put these method
THANKS FOR THE FUTURE HELP :)
0 голосов
2 ответовАктуальное сегодня
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes
Game development
0 Votes