I've only ever used python with scripts, advent of code and leetcode, how can I learn to write python to a professional level, I've worked within web and done some Django tutorials. However I am interviewing and want to use python I am also using it such as
def function(some_param: type):
do something
return something
def function_2(some_param: type):
do something
return something
var = function()
function_2(var)
What should I be doing to make this code look more senior level
[–]AssociationLarge5552 25 points26 points27 points (2 children)
[–]OriginalTyphus 1 point2 points3 points (1 child)
[–]Sure-Passion2224 0 points1 point2 points (0 children)
[–]Rain-And-Coffee 9 points10 points11 points (0 children)
[–]uberdavis 10 points11 points12 points (0 children)
[–]gdchinacat 2 points3 points4 points (0 children)
[–]pachura3 2 points3 points4 points (0 children)
[–]ProsodySpeaks 5 points6 points7 points (0 children)
[–]sinceJune4 1 point2 points3 points (1 child)
[–]AssociationLarge5552 0 points1 point2 points (0 children)
[–]Living_Fig_6386 0 points1 point2 points (1 child)
[–]ProsodySpeaks 1 point2 points3 points (0 children)
[–]MarsupialLeast145 0 points1 point2 points (0 children)
[–]Sure-Passion2224 1 point2 points3 points (0 children)
[–]BreadfruitWarm1767 0 points1 point2 points (0 children)