This blog contains notes from different learning sites. This notes falls in Information Security, Cyber Security, Network Security and other Security Domain class. Any suggestion to make this site helpful is truly welcome :)
1 2 3 4 str1 = "Hello" str2 = 'there' bob = str1 + str2 print(bob)
1 2 3 x = '40' y = int(x) + 2 print(y)
1 x = 'From marquard@uct.ac.za'
1 2 for letter in 'banana' : print(letter)
1 print(len('banana')*7)
1 greet = 'Hello Bob'
1 print(greet.upper())
1 print(uc($greet));
1 puts(greet.ucase);
1 print(greet.toUpperCase());
1 2 3 data = 'From stephen.marquard@uct.ac.za Sat Jan 5 09:14:16 2008' pos = data.find('.') print(data[pos:pos+3])
No comments:
Post a Comment