26-Mar-2026 Course

Run Settings
LanguagePython
Language Version
Run Command
#temp 1 total_number = oneTwoThree = 1 print(total_number, oneTwoThree) x1 = 1 __main__ =1 print (x1, id(x1)) x1 = "hello" print(x1,id(x1)) def a(): '''hello abcdabcd''' pass help(a) print(a()) x = y = total_number = oneTwoThree = 1 print(total_number, oneTwoThree, x, y) #del x print(total_number, oneTwoThree, x, y) x = 1 y = 1.0 z = 1+1j i = "abc" j = True print(type(x), type(y), type(z), type(i), type(j)) print(0.5-0.4) print(0.1+0.1+0.1) #temp2 from decimal import Decimal print(Decimal("0.5") - Decimal("0.4")) print(type(0.1)) x = 10**15 # 1 followed by 100 zeros print(x) print(type(x)) # Still <class 'int'> print(("hello".upper().lower().title() * 3)) print(("hello".upper().lower().title() * 3).capitalize().isalnum()) #self-practise width = 10 precision = 4 value = Decimal("12.34567") ## f"{variable:[fill][align][width][.precision][type]} print(f"result: {value:*>{width}.{precision}}") # nested fields import datetime today = datetime.datetime(year=2023, month=1, day=27) print(f"{today:%B %d, %Y}") # using date format specifier
Editor Settings
Theme
Key bindings
Full width
Lines