Created
May 25, 2015 20:38
-
-
Save djvita/f5e488ab3babba005327 to your computer and use it in GitHub Desktop.
Playground Swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
var str = "Hello, playground" | |
var numberOfYears: Int = 4 | |
var accountBalance: Float = 1203.51 | |
var isStudent: Bool = true | |
var names: String = "Hello where are you" | |
var year: Int = 2015 | |
//objects | |
//var fastCar: Car = Car() | |
var numberOFYears: Int = 24 | |
let name: String = "Vita" | |
let isMale: Bool = true | |
var bankAccountBalance: Float = 2345.4 | |
var numberOfYears1 = 25 | |
var name2 = "Elias" | |
let issMale = true | |
var accountMonay = 45687.15 | |
var favoriteFood = "pasta" | |
favoriteFood.uppercaseString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment