Hello there.
I'm new in python thats why i hope for one quick explanation.
I'm making this program just for fun tho i dunno how to really use raw_input in loop.
from random import *
ime_f = raw_input("Vnesi ime fanta: ");
priimek_f = raw_input("Vnesi priimek fanta: ");
ime_z = raw_input("Vnesi ime deklice: ");
priimek_z = raw_input("Vnesi priimek deklice: ");
x = randint(0, 70);
if ime_f == "Lojze" & priimek_f == "Slak" & ime_z == "Mihela" & priimek_z == "Cas":
print "Ujemanje je 100%";
else:
print x;
the thing is that i dont know the syntax so that the 8th line would work. What should i do so that if i enter the right words that the condition would be fulfilled?