10th Nov 2020, 5:45 AM
Սոֆի
10 Answers
+ 11
1. indentation error 2. not use && use & in line 3 a = int(input()) b = int (input()) if(a > b & a % b != 0): print("Buy it!") elif (a == b): print("Buy it!") else: print("Try again")
10th Nov 2020, 5:48 AM
Sâñtôsh
Sâñtôsh - avatar
+ 9
Ok thanks
10th Nov 2020, 5:51 AM
Սոֆի
+ 7
Ok Thank you very much ⊂◉‿◉つꋊꋬ꒦ꋊꏂꏂ꓄✨ bro😊
10th Nov 2020, 7:55 AM
Սոֆի
+ 7
a = int(input()) b = int(input()) if a>b and a%b != 0: print("Buy it!") elif a == b: print("Buy it!") else: print("Try again")
11th Nov 2020, 12:17 PM
Sahil
Sahil - avatar
+ 7
Thank you Sahil
11th Nov 2020, 12:20 PM
Սոֆի
+ 7
Sofi Ur Welcome
11th Nov 2020, 12:22 PM
Sahil
Sahil - avatar
+ 5
a = int(input()) b = int (input()) if (a>b & a%b !=0): print("Buy it!") elif (a == b): print("Buy it!") else: print("Try again") In line 3 don't use any indentation
10th Nov 2020, 7:07 AM
Navneet ᏉꂅᏒოᕱ 💖(left )
Navneet  ᏉꂅᏒოᕱ 💖(left ) - avatar
12th Nov 2020, 5:58 AM
Սոֆի
+ 3
Welcome sofi☺️
12th Nov 2020, 6:58 AM
Suraj
Suraj - avatar