+3

Where is problem? I enter any number it outputs "You are child". Why? Can you help please guys. https://code.sololearn.com/cS6CXDIBSfwT/?ref=app

1/11/2020 6:43:03 AM

+10

Merjen you have to use and operator instead of bitwise and https://code.sololearn.com/c9oOMfGekHdT/?ref=app

+3

+2

GAWEN STEASY thank you very much

+2

Now it's working correctly.

+2

print("Welcome to Sololearn") age=int(input("enter your age: ")); if age==7 and age<=12: print("You are child") elif age>12 and age<=19: print("You are teenager") elif age>19 and age<=30: print("You are young adult") elif age>30 and age<=49: print("You are adult") elif age<=59: print("You are middle-aged") else : print("You are old") print("WOOW!!!") print("Cool") print("Even you are 59+ you are learning programming") print("I am proud of you") print("Keep going")

0

0

It's solved

0

But still thank you for this option too

0

Nothing

0

Thanks

0

It's is working good

0

0

0

Omg we aren't here to argue

0

We are here to learn something

-2

What is the output of this code? >>> spam = 2 >>> eggs = 3 >>> del spam >>> eggs = 4 >>> spam = 5 >>> print(spam * eggs)

-3

What is the output of this code? >>> spam = 2 >>> eggs = 3 >>> del spam >>> eggs = 4 >>> spam = 5 >>> print(spam * eggs)

-3

What's up

-3

What's up

-3

What's up