TristanSld

if statement in conditional expressions

Jan 5th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. #-*-coding:utf-8-*-
  4.  
  5. sifre="python"
  6.  
  7. yanit=raw_input("Lütfen şifrenizi giriniz: ")
  8.  
  9. if yanit == sifre:
  10.  
  11.     print ("Şifre onaylandı. Programa hoş geldiniz.")
Advertisement
Add Comment
Please, Sign In to add comment