I just started python..... And....im a little confused.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I just started python..... And....im a little confused..

every time I try a variable it gives me a stynax error

2nd Sep 2017, 2:47 PM
Zacchaeus Nash
Zacchaeus Nash - avatar
8 Answers
+ 4
@Zacchaeus Nash, try this... x=7 if(x==7): print("x = 7")
2nd Sep 2017, 4:33 PM
Ipang
+ 5
post the code so we can help you :D
2nd Sep 2017, 4:26 PM
AL.The.Flame!
AL.The.Flame! - avatar
+ 3
Maybe you can post your piece of the code so other members can suggest anything?
2nd Sep 2017, 2:50 PM
Ipang
+ 1
thanks lpang it worked!!
2nd Sep 2017, 5:00 PM
Zacchaeus Nash
Zacchaeus Nash - avatar
0
this is the part that it happens on x = 7 if x=7 print("7=6..oh wait..no it doesnt XD")
2nd Sep 2017, 4:29 PM
Zacchaeus Nash
Zacchaeus Nash - avatar
0
I think I'm missing quotation marks somewhere
2nd Sep 2017, 4:29 PM
Zacchaeus Nash
Zacchaeus Nash - avatar
0
idk.Help me!😭😭😭
2nd Sep 2017, 4:29 PM
Zacchaeus Nash
Zacchaeus Nash - avatar
0
tell exactly what u want to do... do right indentations post codes
2nd Sep 2017, 4:45 PM
sayan chandra
sayan chandra - avatar