JavaScript
for (var i=1; i<=5; i++){
console.log(i + ",第几只羊")
}
Python
if money>=520:
print("I Love You")
C++
#include <iostream>
using namespace std;
int main()
{
int money = 10;
if( money >= 520 )
{
cout << "I Love You" << endl;
}
return 0;
}
C
#include <stdio.h>
int main()
{
if( money >= 520 )
{
printf("I Love You" );
}
return 0;
}
Autoit
If money >= 520 Then
Exit
EndIf
PHP
<?php
money=519;
if (money>=520)
{
echo "I Love You";
}
?>