JavaScript

  1. for (var i=1; i<=5; i++){
  2. console.log(i + ",第几只羊")
  3. }

Python

  1. if money>=520:
  2. print("I Love You")

C++

  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int money = 10;
  6. if( money >= 520 )
  7. {
  8. cout << "I Love You" << endl;
  9. }
  10. return 0;
  11. }

C

  1. #include <stdio.h>
  2. int main()
  3. {
  4. if( money >= 520 )
  5. {
  6. printf("I Love You" );
  7. }
  8. return 0;
  9. }

Autoit

  1. If money >= 520 Then
  2. Exit
  3. EndIf

PHP

  1. <?php
  2. money=519;
  3. if (money>=520)
  4. {
  5. echo "I Love You";
  6. }
  7. ?>