User Tools

Site Tools


bioinfo:comarative_programming_linguistics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bioinfo:comarative_programming_linguistics [2022/03/27 08:56] – [If문] hyjeongbioinfo:comarative_programming_linguistics [2022/03/27 09:07] (current) – [If문] hyjeong
Line 8: Line 8:
       print "You are not Haeyoung. Who are you?\n";       print "You are not Haeyoung. Who are you?\n";
   }   }
 +  
   if ($char eq 'A') {   if ($char eq 'A') {
       print "You entered 'A'.\n";       print "You entered 'A'.\n";
Line 20: Line 21:
  
 **Python** **Python**
 +  if money == 20000:
 +      print("KTX 타고 가자")
 +  elif money >= 1000:
 +      print("버스 타고 갈까?")
 +  else:
 +      print("그냥 걸어 가!")
  
 ===== While문 ===== ===== While문 =====
bioinfo/comarative_programming_linguistics.1648338998.txt.gz · Last modified: by hyjeong