Обсуждения
Why won´t this work? c++
0 голосов
10 ответовSystem for bank clients
0 голосов
2 ответовWhat is meaning this statement?
0 голосов
3 ответов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 someone explain this code to me....
class ReverseNumberDemo
{ public static void main(String args[]) {
int num=123456789;
int reversenum =0;
while( num != 0 ) {
reversenum = reversenum * 10;
reversenum = reversenum + num%10;
num = num/10; }
System.out.println("Reverse of specified number is: "+reversenum);
}
}
the thing I don't get is the reversenum part......isn't reversenum=0 so wouldn't reversenum*10=0
0 голосов
8 ответовHow can I make a reference for a list of variables. If false i want the system to check through all my variable to make sure they are false.
Code-
var2 = "Tanner"
var3 = "Jake"
question = input('What is your name? ')
if question == var2:
print('\nWelcome Back Tanner!')
if question == var3:
print('\nWelcome Back Jake!")
if question !=( This is where i need help!)( Is the != the correct way to write not equal?)
0 голосов
4 ответовАктуальное сегодня
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Ruby programming?
3 Votes