Skip to content

Instantly share code, notes, and snippets.

@debuging-life
Created December 14, 2016 19:33
Show Gist options
  • Select an option

  • Save debuging-life/3974ab6ba65bcbe9a2d5561e73cd455a to your computer and use it in GitHub Desktop.

Select an option

Save debuging-life/3974ab6ba65bcbe9a2d5561e73cd455a to your computer and use it in GitHub Desktop.
lec-1-proworms
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
var score = "hello gugu"
score = "i lov gugu"
// Constants
let numberOfLife = 3
//numberOfLife = 5
// define multiple variables in one line
var gp = 1, a = 34, b = "ok"
var welcome = "Gugu i lov you alot"
// Type annotation variables
var bu: String
bu = "Hey we lov each other"
var dbls: Double = 123.23
var ๐Ÿ˜œ = "hey"
๐Ÿ˜œ = "sdlfj lkjsdf"
// String interpollation
var repeatMe = 10
print(" This is number: \(repeatMe)")
var vls = UInt8.min
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment