Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Python
- if True:
- print("TRUE!")
- else:
- print("Not true!")
- // Java
- if (true)
- System.out.println("TRUE!");
- else
- System.out.println("Not true!");
- // Kotlin
- if (true)
- println("TRUE!")
- else
- println("Not true!")
- // Swift
- if true { print("TRUE!") }
- else { print("Not true!") }
- # Bash
- if [ true ]; then
- printf "TRUE\n"
- else
- prinf "Not true\n"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement