摘要:
The methods in a class are associated with the objects created for it. For invoking the methods defined inside the class, the presence of an instance
阅读全文
posted @ 2024-06-17 22:22
ZhangZhihuiAAA
阅读(28)
推荐(0)
摘要:
Object Oriented Programming (OOP) allows the programmers to add some additional functionalities to the operators and methods which have basic properti
阅读全文
posted @ 2024-06-17 21:56
ZhangZhihuiAAA
阅读(30)
推荐(0)
摘要:
Name mangling is the process of naming the variable using the prefix "__" (double underscore), which makes the variable can be accessed only by using
阅读全文
posted @ 2024-06-17 21:34
ZhangZhihuiAAA
阅读(28)
推荐(0)
摘要:
Advantages and Disadvantages of Functional Programming
阅读全文
posted @ 2024-06-17 21:27
ZhangZhihuiAAA
阅读(8)
推荐(0)
摘要:
re Package methods Character Class Regular expression with description
阅读全文
posted @ 2024-06-17 21:20
ZhangZhihuiAAA
阅读(13)
推荐(0)
posted @ 2024-06-17 21:14
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
>>> format_string=("%2f" %13.333222) >>> print(format_string) 13.333222 >>> format_string=("%2.3f" %13.333222) >>> print(format_string) 13.333 >>> nam
阅读全文
posted @ 2024-06-17 19:33
ZhangZhihuiAAA
阅读(10)
推荐(0)
posted @ 2024-06-17 19:31
ZhangZhihuiAAA
阅读(13)
推荐(0)
摘要:
>>> help() help> PRECEDENCE Operator precedence ******************* The following table summarizes the operator precedence in Python, from highest pre
阅读全文
posted @ 2024-06-17 19:27
ZhangZhihuiAAA
阅读(72)
推荐(0)
摘要:
>>> import keyword>>> keyword.kwlist['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break', 'class', 'continue', 'def', 'del', 'el
阅读全文
posted @ 2024-06-17 18:29
ZhangZhihuiAAA
阅读(22)
推荐(0)
摘要:
func getUserInput() { fmt.Print("Please give me your name: ") var name string // Scan scans text read from standard input, storing successive space-se
阅读全文
posted @ 2024-06-17 11:37
ZhangZhihuiAAA
阅读(22)
推荐(0)
摘要:
zzh@ZZHPC:~/.goenv/shims$ cat godoc #!/usr/bin/env bash set -e [ -n "$GOENV_DEBUG" ] && set -x program="${0##*/}" if [[ "$program" = "go"* ]]; then fo
阅读全文
posted @ 2024-06-17 10:14
ZhangZhihuiAAA
阅读(7)
推荐(0)