+ 2

Can someone help me fig out what is wrong with this code

print("Keeon is a fool for choosing ruby") f = "true" if f: print('yah u tru, ruby is a faget language') else: print('no') ans = raw_input("keeon, do you like ruby?") if "y" in ans: print("no bueno") elif "n" in ans: print("good.")

12th Nov 2016, 2:44 PM
Tronic
Tronic - avatar
3 Answers
+ 1
raw_input is not a built-in function in python 3.0. You need to use the function input instead.
12th Nov 2016, 3:13 PM
Adriano Armani
Adriano Armani - avatar
+ 1
thanks
12th Nov 2016, 3:15 PM
Tronic
Tronic - avatar
+ 1
Nothing.
12th Nov 2016, 3:18 PM
Adriano Armani
Adriano Armani - avatar